30 lines
1.0 KiB
XML
30 lines
1.0 KiB
XML
|
<project name="practicing-processing" basedir="." default="jar">
|
||
|
<property environment="env" />
|
||
|
|
||
|
<target name="prochome-check">
|
||
|
<exec executable="./bin/prochome-check" failonerror="true" />
|
||
|
</target>
|
||
|
|
||
|
<target name="jar" depends="build" description="Jar Up All The Things">
|
||
|
<jar destfile="lib/${os.arch}/mbh-processing-practice.jar"
|
||
|
basedir="build" />
|
||
|
</target>
|
||
|
|
||
|
<target name="build" depends="prochome-check" description="Build All The Things">
|
||
|
<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>
|