annotate build.xml @ 58:f2c5f1fca9a7

added javadoc capability
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Dec 2011 21:53:52 -0600
parents 19831877eaed
children f5e52169f056
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@2 31 </target>
rlm@2 32
rlm@2 33 <target name="compile" depends="prepare" >
rlm@2 34 <javac srcdir="${src}" destdir="${build}"
rlm@2 35 classpathref="classpath"
rlm@2 36 includeantruntime="false"/>
rlm@2 37 </target>
rlm@2 38
rlm@58 39 <target name="dist" depends="compile,javadoc" >
rlm@2 40 <mkdir dir="${dist}"/>
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@58 47 <target name="clean">
rlm@2 48 <delete dir="${build}"/>
rlm@2 49 <delete dir="${dist}"/>
rlm@58 50 <delete dir="${docs}"/>
rlm@2 51 </target>
rlm@2 52
rlm@58 53 <target name="javadoc">
rlm@58 54 <mkdir dir="${docs}"/>
rlm@58 55 <javadoc sourcepath="${src}"
rlm@58 56 classpathref="classpath"
rlm@58 57 destdir="${docs}"/>
rlm@58 58 </target>
rlm@2 59
rlm@2 60 </project>
rlm@2 61