1037e390b5
git-subtree-dir: practicing-processing git-subtree-mainline:d40d570281
git-subtree-split:a863dc99fc
29 lines
1.0 KiB
XML
29 lines
1.0 KiB
XML
<project name="practicing-processing" basedir="." default="jar">
|
|
<property environment="env" />
|
|
|
|
<target name="envcheck">
|
|
<exec executable="./bin/prochome-check" failonerror="true" />
|
|
</target>
|
|
|
|
<target name="jar" depends="build" description="Jar Up All The Things">
|
|
<jar destfile="lib/mbh-processing-practice.jar" basedir="build" />
|
|
</target>
|
|
|
|
<target name="build" depends="envcheck" 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>
|