Fetching contributors…
Cannot retrieve contributors at this time
72 lines (46 sloc) 2.46 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="">Git</a>, if you are going to be checking out the source from the Git repository</li>
<li><a href="">Java</a> runtime, version 6 or higher</li>
<li><a href="">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://</kbd></pre>
<li>Download an archive of the source:
<a href=""></a>
<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
<li> - The fully compressed behavior file; this is the version which should be deployed in production
<li> - An uncompressed version of the behavior; this is useful for debugging purposes but is
very large so it should not be deployed in production environments.</li>
<li>PIE.js - The compressed version of the alternate <a href="/documentation/pie-js/">JavaScript edition</a> of
PIE. is the recommended file for most users.</li>
<li>PIE_uncompressed.js - The uncompressed version of the JavaScript edition.</li>
<!-- noformat off -->