comparison 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
comparison
equal deleted inserted replaced
61:76581e11fb72 62:f5e52169f056
26 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/> 26 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
27 </path> 27 </path>
28 28
29 <target name="prepare"> 29 <target name="prepare">
30 <mkdir dir="${build}"/> 30 <mkdir dir="${build}"/>
31 <mkdir dir="${dist}"/>
32 <mkdir dir="${docs}"/>
31 </target> 33 </target>
32 34
33 <target name="compile" depends="prepare" > 35 <target name="compile" depends="prepare" >
34 <javac srcdir="${src}" destdir="${build}" 36 <javac srcdir="${src}" destdir="${build}"
35 classpathref="classpath" 37 classpathref="classpath"
36 includeantruntime="false"/> 38 includeantruntime="false"/>
37 </target> 39 </target>
38 40
39 <target name="dist" depends="compile,javadoc" > 41 <target name="jar" depends="prepare,compile">
40 <mkdir dir="${dist}"/>
41 <jar jarfile="${dist}/jmeCapture.jar"> 42 <jar jarfile="${dist}/jmeCapture.jar">
42 <fileset dir="${src}"/> 43 <fileset dir="${src}"/>
43 <fileset dir="${build}"/> 44 <fileset dir="${build}"/>
44 </jar> 45 </jar>
46 </target>
47
48 <target name="javadoc" depends="prepare">
49 <javadoc sourcepath="${src}"
50 classpathref="classpath"
51 destdir="${docs}"/>
52 </target>
53
54 <target name="dist" depends="jar,javadoc" >
55
45 </target> 56 </target>
46 57
47 <target name="clean"> 58 <target name="clean">
48 <delete dir="${build}"/> 59 <delete dir="${build}"/>
49 <delete dir="${dist}"/> 60 <delete dir="${dist}"/>
50 <delete dir="${docs}"/> 61 <delete dir="${docs}"/>
51 </target> 62 </target>
52 63
53 <target name="javadoc">
54 <mkdir dir="${docs}"/>
55 <javadoc sourcepath="${src}"
56 classpathref="classpath"
57 destdir="${docs}"/>
58 </target>
59 64
60 </project> 65 </project>
61 66