annotate build.xml @ 11:8a6b1684f536

refactored.
author Robert McIntyre <rlm@mit.edu>
date Thu, 27 Oct 2011 02:27:02 -0700
parents 4c5fc53778c1
children d10f4d4ff15a
rev   line source
rlm@5 1 <project name="jmeCapture" default="dist" basedir=".">
rlm@2 2
rlm@2 3
rlm@2 4 <property name="build" value="build"/>
rlm@2 5 <property name="src" value="src"/>
rlm@2 6 <property name="dist" value="dist"/>
rlm@2 7 <property name="lib" value="lib"/>
rlm@2 8
rlm@2 9 <path id="classpath">
rlm@2 10 <pathelement path="${lib}/jme"/>
rlm@3 11 <pathelement path="${lib}/lwjgl.jar"/>
rlm@10 12 <pathelement path="${lib}/xuggle/xuggle-xuggler.jar"/>
rlm@11 13 <pathelement path="${lib}/audio-send.jar"/>
rlm@10 14
rlm@10 15
rlm@2 16 </path>
rlm@2 17
rlm@2 18 <target name="prepare">
rlm@2 19 <mkdir dir="${build}"/>
rlm@2 20 </target>
rlm@2 21
rlm@2 22 <target name="compile" depends="prepare" >
rlm@2 23 <javac srcdir="${src}" destdir="${build}"
rlm@2 24 classpathref="classpath"
rlm@2 25 includeantruntime="false"/>
rlm@2 26 </target>
rlm@2 27
rlm@2 28 <target name="dist" depends="compile" >
rlm@2 29 <mkdir dir="${dist}"/>
rlm@5 30 <jar jarfile="${dist}/jmeCapture.jar" basedir="${build}"/>
rlm@2 31 </target>
rlm@2 32
rlm@2 33 <target name="clean" >
rlm@2 34 <delete dir="${build}"/>
rlm@2 35 <delete dir="${dist}"/>
rlm@2 36 </target>
rlm@2 37
rlm@2 38
rlm@2 39 </project>
rlm@2 40