view 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
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 </target>
33 <target name="compile" depends="prepare" >
34 <javac srcdir="${src}" destdir="${build}"
35 classpathref="classpath"
36 includeantruntime="false"/>
37 </target>
39 <target name="dist" depends="compile,javadoc" >
40 <mkdir dir="${dist}"/>
41 <jar jarfile="${dist}/jmeCapture.jar">
42 <fileset dir="${src}"/>
43 <fileset dir="${build}"/>
44 </jar>
45 </target>
47 <target name="clean">
48 <delete dir="${build}"/>
49 <delete dir="${dist}"/>
50 <delete dir="${docs}"/>
51 </target>
53 <target name="javadoc">
54 <mkdir dir="${docs}"/>
55 <javadoc sourcepath="${src}"
56 classpathref="classpath"
57 destdir="${docs}"/>
58 </target>
60 </project>