annotate build.xml @ 4:edaa7e7806e4

migrated IsoTimer
author Robert McIntyre <rlm@mit.edu>
date Tue, 25 Oct 2011 12:03:01 -0700
parents a92de00f0414
children 0e966c8a3e3d
rev   line source
rlm@2 1 <project name="MyProject" 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@2 26 <jar jarfile="${dist}/MyProject.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