view build.xml @ 67:30cea3f0f30a

rename poorly named file.
author Robert McIntyre <rlm@mit.edu>
date Tue, 28 Feb 2012 11:17:04 -0600
parents 0d7347b916ae
children 302d5e9ad120
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}/tritonus_aos-0.3.6.jar"/>
25 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
26 </path>
28 <target name="prepare">
29 <mkdir dir="${build}"/>
30 <mkdir dir="${dist}"/>
31 <mkdir dir="${docs}"/>
32 </target>
34 <target name="compile" depends="prepare" >
35 <javac srcdir="${src}" destdir="${build}"
36 classpathref="classpath"
37 includeantruntime="false"/>
38 </target>
40 <target name="jar" depends="prepare,compile">
41 <jar jarfile="${dist}/jmeCapture.jar">
42 <fileset dir="${src}"/>
43 <fileset dir="${build}"/>
44 </jar>
45 </target>
47 <target name="javadoc" depends="prepare">
48 <javadoc sourcepath="${src}"
49 classpathref="classpath"
50 destdir="${docs}"/>
51 </target>
53 <target name="dist" depends="jar,javadoc" >
55 </target>
57 <target name="clean">
58 <delete dir="${build}"/>
59 <delete dir="${dist}"/>
60 <delete dir="${docs}"/>
61 </target>
64 </project>