Mercurial > jmeCapture
annotate build.xml @ 12:d10f4d4ff15a
going to improve documentation
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 27 Oct 2011 21:07:50 -0700 |
parents | 8a6b1684f536 |
children | e299cd89074d |
rev | line source |
---|---|
rlm@5 | 1 <project name="jmeCapture" default="dist" basedir="."> |
rlm@2 | 2 |
rlm@2 | 3 |
rlm@2 | 4 <property name="build" value="build"/> |
rlm@2 | 5 <property name="src" value="src"/> |
rlm@2 | 6 <property name="dist" value="dist"/> |
rlm@2 | 7 <property name="lib" value="lib"/> |
rlm@2 | 8 |
rlm@2 | 9 <path id="classpath"> |
rlm@2 | 10 <pathelement path="${lib}/jme"/> |
rlm@3 | 11 <pathelement path="${lib}/lwjgl.jar"/> |
rlm@10 | 12 <pathelement path="${lib}/xuggle/xuggle-xuggler.jar"/> |
rlm@11 | 13 <pathelement path="${lib}/audio-send.jar"/> |
rlm@2 | 14 </path> |
rlm@2 | 15 |
rlm@2 | 16 <target name="prepare"> |
rlm@2 | 17 <mkdir dir="${build}"/> |
rlm@2 | 18 </target> |
rlm@2 | 19 |
rlm@2 | 20 <target name="compile" depends="prepare" > |
rlm@2 | 21 <javac srcdir="${src}" destdir="${build}" |
rlm@2 | 22 classpathref="classpath" |
rlm@2 | 23 includeantruntime="false"/> |
rlm@2 | 24 </target> |
rlm@2 | 25 |
rlm@2 | 26 <target name="dist" depends="compile" > |
rlm@2 | 27 <mkdir dir="${dist}"/> |
rlm@5 | 28 <jar jarfile="${dist}/jmeCapture.jar" basedir="${build}"/> |
rlm@2 | 29 </target> |
rlm@2 | 30 |
rlm@2 | 31 <target name="clean" > |
rlm@2 | 32 <delete dir="${build}"/> |
rlm@2 | 33 <delete dir="${dist}"/> |
rlm@2 | 34 </target> |
rlm@2 | 35 |
rlm@2 | 36 |
rlm@2 | 37 </project> |
rlm@2 | 38 |