Maverick:~/site/clojure/clojure-contrib gj$ ant -Dclojure.jar=../
clojure/clojure.jar
Buildfile: build.xml

 --------- boring stuff snipped

jar:

BUILD FAILED
/Users/gj/site/clojure/clojure-contrib/build.xml:62: The <jar> type
doesn't support the nested "path" element.

Total time: 1 second

This works for me:

Maverick:~/site/clojure/clojure-contrib gj$ git diff
diff --git a/build.xml b/build.xml
index 0a3bad6..9e1c8ad 100644
--- a/build.xml
+++ b/build.xml
@@ -60,7 +60,7 @@

   <target name="jar" description="Create jar file."
depends="compile_clojure">
     <jar jarfile="${jarfile}">
-      <path location="CPL.TXT"/>
+      <fileset dir="." includes="CPL.TXT"/>
       <fileset dir="${src}" includes="**/*.clj"/>
       <fileset dir="${build}" includes="**/*.class"/>
       <manifest>

CA is in the mail; anyway boring patch, public domain, yadda yadda

Cheers,
Juergen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to