view build.xml @ 63:df4a2d12ea13

added new timer for debugging purposes
author Robert McIntyre <rlm@mit.edu>
date Sun, 15 Jan 2012 04:10:37 -0700
parents f5e52169f056
children 0d7347b916ae
line wrap: on
line source
1 <project name="jmeCapture" default="dist" basedir=".">
4 <property name="build" value="build"/>
5 <property name="src" value="src"/>
6 <property name="dist" value="dist"/>
7 <property name="docs" value="docs"/>
8 <property name="lib" value="lib"/>
12 <path id="classpath">
13 <pathelement path="${lib}/audio-send.jar"/>
14 <pathelement path="${lib}/commons-cli.jar"/>
15 <pathelement path="${lib}/jMonkeyEngine3.jar"/>
16 <pathelement path="${lib}/jME3-core.jar"/>
17 <pathelement path="${lib}/jME3-desktop.jar"/>
18 <pathelement path="${lib}/jME3-lwjgl.jar"/>
19 <pathelement path="${lib}/logback-classic.jar"/>
20 <pathelement path="${lib}/logback-core.jar"/>
21 <pathelement path="${lib}/lwjgl.jar"/>
22 <pathelement path="${lib}/slf4j-api.jar"/>
23 <pathelement path="${lib}/xuggle-xuggler.jar"/>
24 <pathelement path="${lib}/xuggle-xuggler-test.jar"/>
25 <pathelement path="${lib}/tritonus_aos-0.3.6.jar"/>
26 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
27 </path>
29 <target name="prepare">
30 <mkdir dir="${build}"/>
31 <mkdir dir="${dist}"/>
32 <mkdir dir="${docs}"/>
33 </target>
35 <target name="compile" depends="prepare" >
36 <javac srcdir="${src}" destdir="${build}"
37 classpathref="classpath"
38 includeantruntime="false"/>
39 </target>
41 <target name="jar" depends="prepare,compile">
42 <jar jarfile="${dist}/jmeCapture.jar">
43 <fileset dir="${src}"/>
44 <fileset dir="${build}"/>
45 </jar>
46 </target>
48 <target name="javadoc" depends="prepare">
49 <javadoc sourcepath="${src}"
50 classpathref="classpath"
51 destdir="${docs}"/>
52 </target>
54 <target name="dist" depends="jar,javadoc" >
56 </target>
58 <target name="clean">
59 <delete dir="${build}"/>
60 <delete dir="${dist}"/>
61 <delete dir="${docs}"/>
62 </target>
65 </project>