diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2008-08-28 19:39:36 +0000 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2008-08-28 19:39:36 +0000 |
commit | ae5000e3c0e9706b478d689986ba996de4aed3c8 (patch) | |
tree | a1dc55499eafdf670b646ae10f77d05aeb5ff204 | |
parent | a33740a7c9bdb7abd2278f80de09638cb3f0c23c (diff) |
build.xml: separate dist directory no longer needed to build JAR
-rw-r--r-- | build.xml | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -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> |