view build.xml @ 68:302d5e9ad120

adjust format
author Robert McIntyre <rlm@mit.edu>
date Thu, 19 Jul 2012 12:28:55 -0500
parents 0d7347b916ae
children dd97f65f940c
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}/lwjgl.jar"/>
20 <!--
21 <pathelement path="${lib}/logback-classic.jar"/>
22 <pathelement path="${lib}/logback-core.jar"/>
23 <pathelement path="${lib}/slf4j-api.jar"/>
24 -->
25 <pathelement path="${lib}/xuggle-xuggler.jar"/>
26 <pathelement path="${lib}/tritonus_aos-0.3.6.jar"/>
27 <pathelement path="${lib}/tritonus_share-0.3.6.jar"/>
28 </path>
30 <target name="prepare">
31 <mkdir dir="${build}"/>
32 <mkdir dir="${dist}"/>
33 <mkdir dir="${docs}"/>
34 </target>
36 <target name="compile" depends="prepare" >
37 <javac srcdir="${src}" destdir="${build}"
38 classpathref="classpath"
39 includeantruntime="false"/>
40 </target>
42 <target name="jar" depends="prepare,compile">
43 <jar jarfile="${dist}/jmeCapture.jar">
44 <fileset dir="${src}"/>
45 <fileset dir="${build}"/>
46 </jar>
47 </target>
49 <target name="javadoc" depends="prepare">
50 <javadoc sourcepath="${src}"
51 classpathref="classpath"
52 destdir="${docs}"/>
53 </target>
55 <target name="dist" depends="jar,javadoc" >
57 </target>
60 <target name="all" depends="dist"/>
62 <target name="clean">
63 <delete dir="${build}"/>
64 <delete dir="${dist}"/>
65 <delete dir="${docs}"/>
66 </target>
69 </project>