view 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
line wrap: on
line source
1 <project name="MyProject" 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 </path>
14 <target name="prepare">
15 <mkdir dir="${build}"/>
16 </target>
18 <target name="compile" depends="prepare" >
19 <javac srcdir="${src}" destdir="${build}"
20 classpathref="classpath"
21 includeantruntime="false"/>
22 </target>
24 <target name="dist" depends="compile" >
25 <mkdir dir="${dist}"/>
26 <jar jarfile="${dist}/MyProject.jar" basedir="${build}"/>
27 </target>
29 <target name="clean" >
30 <delete dir="${build}"/>
31 <delete dir="${dist}"/>
32 </target>
35 </project>