summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2007-04-26 17:33:35 +0000
committerKenneth Russel <[email protected]>2007-04-26 17:33:35 +0000
commit388b4504da97d22799ca00b0811aa18622f296ae (patch)
tree75182c9a9cc4d6939b5439b789906ff493789bea
parent27326eaf71862d27d77d8579ea1989028646cdaa (diff)
Build improvements; delete old jars first, added clean target
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@69 83d24430-9974-4f80-8418-2cc3294053b9
-rw-r--r--make/build.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index afd1433..19247ce 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -45,7 +45,12 @@
</javac>
</target>
+ <target name="clean">
+ <delete dir="${output.tmp.dir}" failonerror="false" />
+ </target>
+
<target name="msg.jar" depends="compile">
+ <delete file="${output.dir}/msg.jar" failonerror="false" />
<jar destfile="${output.dir}/msg.jar">
<fileset dir="${output.tmp.dir}"
includes="net/java/joglutils/msg/**"
@@ -54,6 +59,7 @@
</target>
<target name="all" depends="compile">
+ <delete file="${output.jar}" failonerror="false" />
<jar destfile="${output.jar}">
<fileset dir="${output.tmp.dir}" />
</jar>