annotate build.xml @ 62:f5e52169f056

updated to work with new jme changes
author Robert McIntyre <rlm@mit.edu>
date Wed, 14 Dec 2011 17:43:52 -0700
parents f2c5f1fca9a7
children 0d7347b916ae
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@14 24 <pathelement path="${lib}/xuggle-xuggler-test.jar"/>
rlm@24 25 <pathelement path="${lib}/tritonus_aos-0.3.6.jar"/>
rlm@33 26 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
rlm@2 27 </path>
rlm@2 28
rlm@2 29 <target name="prepare">
rlm@2 30 <mkdir dir="${build}"/>
rlm@62 31 <mkdir dir="${dist}"/>
rlm@62 32 <mkdir dir="${docs}"/>
rlm@2 33 </target>
rlm@2 34
rlm@2 35 <target name="compile" depends="prepare" >
rlm@2 36 <javac srcdir="${src}" destdir="${build}"
rlm@2 37 classpathref="classpath"
rlm@2 38 includeantruntime="false"/>
rlm@2 39 </target>
rlm@62 40
rlm@62 41 <target name="jar" depends="prepare,compile">
rlm@16 42 <jar jarfile="${dist}/jmeCapture.jar">
rlm@16 43 <fileset dir="${src}"/>
rlm@16 44 <fileset dir="${build}"/>
rlm@16 45 </jar>
rlm@2 46 </target>
rlm@2 47
rlm@62 48 <target name="javadoc" depends="prepare">
rlm@62 49 <javadoc sourcepath="${src}"
rlm@62 50 classpathref="classpath"
rlm@62 51 destdir="${docs}"/>
rlm@62 52 </target>
rlm@62 53
rlm@62 54 <target name="dist" depends="jar,javadoc" >
rlm@62 55
rlm@62 56 </target>
rlm@62 57
rlm@58 58 <target name="clean">
rlm@2 59 <delete dir="${build}"/>
rlm@2 60 <delete dir="${dist}"/>
rlm@58 61 <delete dir="${docs}"/>
rlm@2 62 </target>
rlm@2 63
rlm@2 64
rlm@2 65 </project>
rlm@2 66