view build.xml @ 11:8a6b1684f536

refactored.
author Robert McIntyre <rlm@mit.edu>
date Thu, 27 Oct 2011 02:27:02 -0700
parents 4c5fc53778c1
children d10f4d4ff15a
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="lib" value="lib"/>
9 <path id="classpath">
10 <pathelement path="${lib}/jme"/>
11 <pathelement path="${lib}/lwjgl.jar"/>
12 <pathelement path="${lib}/xuggle/xuggle-xuggler.jar"/>
13 <pathelement path="${lib}/audio-send.jar"/>
16 </path>
18 <target name="prepare">
19 <mkdir dir="${build}"/>
20 </target>
22 <target name="compile" depends="prepare" >
23 <javac srcdir="${src}" destdir="${build}"
24 classpathref="classpath"
25 includeantruntime="false"/>
26 </target>
28 <target name="dist" depends="compile" >
29 <mkdir dir="${dist}"/>
30 <jar jarfile="${dist}/jmeCapture.jar" basedir="${build}"/>
31 </target>
33 <target name="clean" >
34 <delete dir="${build}"/>
35 <delete dir="${dist}"/>
36 </target>
39 </project>