box-o-sand/practicing-processing/build.xml

29 lines
1.0 KiB
XML
Raw Normal View History

2012-01-02 05:32:34 +00:00
<project name="practicing-processing" basedir="." default="jar">
<property environment="env" />
<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">
<jar destfile="lib/mbh-processing-practice.jar" basedir="build" />
2012-01-02 05:32:34 +00:00
</target>
<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>