Fetching contributors…
Cannot retrieve contributors at this time
80 lines (53 sloc) 2.72 KB
<!DOCTYPE html>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>PIE Documentation: Building PIE From Source</title>
<h1>Building PIE From Source</h1>
<!-- noformat on -->
<p>This document describes how you can build PIE from the most recent source code. This is useful if you want to get a feature or bug fix which hasn't yet made it into a release package. It's also necessary if you want to make changes to the code yourself to try and fix a bug or implement a new feature. If you do so, please consider contributing your changes back to the main project so we can all benefit!</p>
<h2 id="prereqs">Prerequisites</h2>
<p>Building PIE is straightforward. You need to have the following tools installed:</p>
<li><a href="http://git-scm.com/">Git</a>, if you are going to be checking out the source from the Git repository</li>
<li><a href="http://java.com">Java</a> runtime, version 6 or higher</li>
<li><a href="http://ant.apache.org">Ant</a>, for performing the build</li>
<p>Once these prerequisites are installed, perform the following steps:</p>
<h2 id="getsource">Get the source code</h2>
<p>You have two options for getting the source:</p>
<li>Check out the source using Git:
<pre><kbd>git clone git://github.com/lojjic/PIE.git
cd PIE</kbd></pre>
If you want the 2.x beta branch (master) then you're done; if you want the 1.x stable branch then run:
<pre><kbd>git checkout 1.x</kbd></pre>
<li>Download an archive of the source:<br>
<a href="http://github.com/lojjic/PIE/archives/master">http://github.com/lojjic/PIE/archives/master</a> (2.x beta branch)<br>
<a href="http://github.com/lojjic/PIE/archives/1.x">http://github.com/lojjic/PIE/archives/1.x</a> (1.x stable branch)
<h2 id="build">Perform the build</h2>
<p>From the root directory of your local copy of the source code, invoke the following command in the terminal:</p>
<p>This will perform the build, creating a new directory named "build/". This directory will contain the following
<p>To use these files, copy them together into a directory on your server, and reference PIE.htc (or
PIE_uncompressed.htc for debugging) in a behavior property in your CSS. Or, if you want to use the
PIE JS version then you can include the PIE_IEx.js files using script tags (see the
<a href="/documentation/pie-js/">PIE JS</a> documentation for details.)</p>
<!-- noformat off -->