You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
13 years ago
|
<project name="practicing-processing" basedir="." default="jar">
|
||
|
<property environment="env" />
|
||
|
|
||
13 years ago
|
<target name="envcheck">
|
||
13 years ago
|
<exec executable="./bin/prochome-check" failonerror="true" />
|
||
|
</target>
|
||
|
|
||
|
<target name="jar" depends="build" description="Jar Up All The Things">
|
||
13 years ago
|
<jar destfile="lib/mbh-processing-practice.jar" basedir="build" />
|
||
13 years ago
|
</target>
|
||
|
|
||
13 years ago
|
<target name="build" depends="envcheck" description="Build All The Things">
|
||
13 years ago
|
<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>
|