2012-01-02 05:32:34 +00:00
|
|
|
<project name="practicing-processing" basedir="." default="jar">
|
|
|
|
<property environment="env" />
|
|
|
|
|
2012-01-02 06:11:50 +00:00
|
|
|
<target name="envcheck">
|
2012-01-02 05:32:34 +00:00
|
|
|
<exec executable="./bin/prochome-check" failonerror="true" />
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar" depends="build" description="Jar Up All The Things">
|
2012-01-02 06:11:50 +00:00
|
|
|
<jar destfile="lib/mbh-processing-practice.jar" basedir="build" />
|
2012-01-02 05:32:34 +00:00
|
|
|
</target>
|
|
|
|
|
2012-01-02 06:11:50 +00:00
|
|
|
<target name="build" depends="envcheck" description="Build All The Things">
|
2012-01-02 05:32:34 +00:00
|
|
|
<javac srcdir="src" destdir="build" includeantruntime="false" debug="on">
|
|
|
|
<classpath>
|
|
|
|
<pathelement location="${env.PROCESSING_HOME}/lib/pde.jar" />
|
|
|
|
<pathelement location="${env.PROCESSING_HOME}/lib/core.jar" />
|
|
|
|
<pathelement location="${env.PROCESSING_HOME}/java/lib/tools.jar" />
|
|
|
|
<pathelement location="${env.PROCESSING_HOME}/java/lib/rt.jar" />
|
|
|
|
</classpath>
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean" description="Delete built stuff">
|
|
|
|
<delete>
|
|
|
|
<fileset dir="build" includes="**/*.class" />
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
</project>
|