aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2008-08-28 19:39:36 +0000
committerStuart Sierra <mail@stuartsierra.com>2008-08-28 19:39:36 +0000
commitae5000e3c0e9706b478d689986ba996de4aed3c8 (patch)
treea1dc55499eafdf670b646ae10f77d05aeb5ff204
parenta33740a7c9bdb7abd2278f80de09638cb3f0c23c (diff)
build.xml: separate dist directory no longer needed to build JAR
-rw-r--r--build.xml21
1 files changed, 3 insertions, 18 deletions
diff --git a/build.xml b/build.xml
index 1a0cf977..67a56dbf 100644
--- a/build.xml
+++ b/build.xml
@@ -7,32 +7,17 @@
<!-- The JAR file to create. -->
<property name="jarfile" location="clojure-contrib.jar"/>
- <!-- The top-level directory of the JAR file. -->
- <property name="dist.root" location="dist"/>
-
- <!-- The directory under dist.root that matches the
- classpath "clojure.contrib". -->
- <property name="dist.path" location="${dist.root}"/>
-
<target name="clean"
description="Remove generated files and directories.">
- <delete dir="${dist.root}"/>
<delete file="${jarfile}"/>
</target>
- <target name="dirs"
- description="Create build dirs.">
- <mkdir dir="${dist.path}"/>
- </target>
-
<target name="jar"
- description="Create jar file."
- depends="clean,dirs">
- <copy todir="${dist.path}">
+ description="Create jar file.">
+ <jar jarfile="${jarfile}">
<fileset dir="." includes="CPL.TXT"/>
<fileset dir="./src" includes="clojure/contrib/**/*.clj"/>
- </copy>
- <jar jarfile="${jarfile}" basedir="${dist.root}"/>
+ </jar>
</target>
</project>