annotate build.xml @ 70:a67aef438383

minor fix.
author Robert McIntyre <rlm@mit.edu>
date Wed, 29 May 2013 17:31:16 -0400
parents 302d5e9ad120
children dd97f65f940c
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@68 19 <pathelement path="${lib}/lwjgl.jar"/>
rlm@68 20 <!--
rlm@14 21 <pathelement path="${lib}/logback-classic.jar"/>
rlm@14 22 <pathelement path="${lib}/logback-core.jar"/>
rlm@14 23 <pathelement path="${lib}/slf4j-api.jar"/>
rlm@68 24 -->
rlm@14 25 <pathelement path="${lib}/xuggle-xuggler.jar"/>
rlm@24 26 <pathelement path="${lib}/tritonus_aos-0.3.6.jar"/>
rlm@33 27 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
rlm@2 28 </path>
rlm@2 29
rlm@2 30 <target name="prepare">
rlm@2 31 <mkdir dir="${build}"/>
rlm@62 32 <mkdir dir="${dist}"/>
rlm@62 33 <mkdir dir="${docs}"/>
rlm@2 34 </target>
rlm@2 35
rlm@2 36 <target name="compile" depends="prepare" >
rlm@2 37 <javac srcdir="${src}" destdir="${build}"
rlm@2 38 classpathref="classpath"
rlm@2 39 includeantruntime="false"/>
rlm@2 40 </target>
rlm@62 41
rlm@62 42 <target name="jar" depends="prepare,compile">
rlm@16 43 <jar jarfile="${dist}/jmeCapture.jar">
rlm@16 44 <fileset dir="${src}"/>
rlm@16 45 <fileset dir="${build}"/>
rlm@16 46 </jar>
rlm@2 47 </target>
rlm@2 48
rlm@62 49 <target name="javadoc" depends="prepare">
rlm@62 50 <javadoc sourcepath="${src}"
rlm@62 51 classpathref="classpath"
rlm@62 52 destdir="${docs}"/>
rlm@62 53 </target>
rlm@62 54
rlm@62 55 <target name="dist" depends="jar,javadoc" >
rlm@62 56
rlm@62 57 </target>
rlm@62 58
rlm@68 59
rlm@68 60 <target name="all" depends="dist"/>
rlm@68 61
rlm@58 62 <target name="clean">
rlm@2 63 <delete dir="${build}"/>
rlm@2 64 <delete dir="${dist}"/>
rlm@58 65 <delete dir="${docs}"/>
rlm@2 66 </target>
rlm@2 67
rlm@2 68
rlm@2 69 </project>
rlm@2 70