Mercurial > jmeCapture
annotate build.xml @ 9:5dfc9e768816
moved files
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 26 Oct 2011 08:54:12 -0700 |
parents | 0e966c8a3e3d |
children | 4c5fc53778c1 |
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@2 | 12 </path> |
rlm@2 | 13 |
rlm@2 | 14 <target name="prepare"> |
rlm@2 | 15 <mkdir dir="${build}"/> |
rlm@2 | 16 </target> |
rlm@2 | 17 |
rlm@2 | 18 <target name="compile" depends="prepare" > |
rlm@2 | 19 <javac srcdir="${src}" destdir="${build}" |
rlm@2 | 20 classpathref="classpath" |
rlm@2 | 21 includeantruntime="false"/> |
rlm@2 | 22 </target> |
rlm@2 | 23 |
rlm@2 | 24 <target name="dist" depends="compile" > |
rlm@2 | 25 <mkdir dir="${dist}"/> |
rlm@5 | 26 <jar jarfile="${dist}/jmeCapture.jar" basedir="${build}"/> |
rlm@2 | 27 </target> |
rlm@2 | 28 |
rlm@2 | 29 <target name="clean" > |
rlm@2 | 30 <delete dir="${build}"/> |
rlm@2 | 31 <delete dir="${dist}"/> |
rlm@2 | 32 </target> |
rlm@2 | 33 |
rlm@2 | 34 |
rlm@2 | 35 </project> |
rlm@2 | 36 |