annotate build.xml @ 67:30cea3f0f30a

rename poorly named file.
author Robert McIntyre <rlm@mit.edu>
date Tue, 28 Feb 2012 11:17:04 -0600
parents 0d7347b916ae
children 302d5e9ad120
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@58 7 <property name="docs" value="docs"/>
rlm@2 8 <property name="lib" value="lib"/>
rlm@43 9
rlm@16 10
rlm@2 11
rlm@2 12 <path id="classpath">
rlm@14 13 <pathelement path="${lib}/audio-send.jar"/>
rlm@14 14 <pathelement path="${lib}/commons-cli.jar"/>
rlm@14 15 <pathelement path="${lib}/jMonkeyEngine3.jar"/>
rlm@57 16 <pathelement path="${lib}/jME3-core.jar"/>
rlm@57 17 <pathelement path="${lib}/jME3-desktop.jar"/>
rlm@57 18 <pathelement path="${lib}/jME3-lwjgl.jar"/>
rlm@14 19 <pathelement path="${lib}/logback-classic.jar"/>
rlm@14 20 <pathelement path="${lib}/logback-core.jar"/>
rlm@3 21 <pathelement path="${lib}/lwjgl.jar"/>
rlm@14 22 <pathelement path="${lib}/slf4j-api.jar"/>
rlm@14 23 <pathelement path="${lib}/xuggle-xuggler.jar"/>
rlm@24 24 <pathelement path="${lib}/tritonus_aos-0.3.6.jar"/>
rlm@33 25 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
rlm@2 26 </path>
rlm@2 27
rlm@2 28 <target name="prepare">
rlm@2 29 <mkdir dir="${build}"/>
rlm@62 30 <mkdir dir="${dist}"/>
rlm@62 31 <mkdir dir="${docs}"/>
rlm@2 32 </target>
rlm@2 33
rlm@2 34 <target name="compile" depends="prepare" >
rlm@2 35 <javac srcdir="${src}" destdir="${build}"
rlm@2 36 classpathref="classpath"
rlm@2 37 includeantruntime="false"/>
rlm@2 38 </target>
rlm@62 39
rlm@62 40 <target name="jar" depends="prepare,compile">
rlm@16 41 <jar jarfile="${dist}/jmeCapture.jar">
rlm@16 42 <fileset dir="${src}"/>
rlm@16 43 <fileset dir="${build}"/>
rlm@16 44 </jar>
rlm@2 45 </target>
rlm@2 46
rlm@62 47 <target name="javadoc" depends="prepare">
rlm@62 48 <javadoc sourcepath="${src}"
rlm@62 49 classpathref="classpath"
rlm@62 50 destdir="${docs}"/>
rlm@62 51 </target>
rlm@62 52
rlm@62 53 <target name="dist" depends="jar,javadoc" >
rlm@62 54
rlm@62 55 </target>
rlm@62 56
rlm@58 57 <target name="clean">
rlm@2 58 <delete dir="${build}"/>
rlm@2 59 <delete dir="${dist}"/>
rlm@58 60 <delete dir="${docs}"/>
rlm@2 61 </target>
rlm@2 62
rlm@2 63
rlm@2 64 </project>
rlm@2 65