Mercurial > jmeCapture
comparison build.xml @ 2:59509c585530
successful build.xml
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 25 Oct 2011 11:18:59 -0700 |
parents | |
children | a92de00f0414 |
comparison
equal
deleted
inserted
replaced
1:ada15b78104c | 2:59509c585530 |
---|---|
1 <project name="MyProject" default="dist" basedir="."> | |
2 | |
3 | |
4 <property name="build" value="build"/> | |
5 <property name="src" value="src"/> | |
6 <property name="dist" value="dist"/> | |
7 <property name="lib" value="lib"/> | |
8 | |
9 <path id="classpath"> | |
10 <pathelement path="${lib}/jme"/> | |
11 </path> | |
12 | |
13 <target name="prepare"> | |
14 <mkdir dir="${build}"/> | |
15 </target> | |
16 | |
17 <target name="compile" depends="prepare" > | |
18 <javac srcdir="${src}" destdir="${build}" | |
19 classpathref="classpath" | |
20 includeantruntime="false"/> | |
21 </target> | |
22 | |
23 <target name="dist" depends="compile" > | |
24 <mkdir dir="${dist}"/> | |
25 <jar jarfile="${dist}/MyProject.jar" basedir="${build}"/> | |
26 </target> | |
27 | |
28 <target name="clean" > | |
29 <delete dir="${build}"/> | |
30 <delete dir="${dist}"/> | |
31 </target> | |
32 | |
33 | |
34 </project> | |
35 |