On 2008-12-05, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote: > Hi,
> Am 05.12.2008 um 14:40 schrieb Stefan Bodewig: >>> BUILD FAILED >>> /Users/gj/site/clojure/clojure-contrib/build.xml:62: The <jar> type >>> doesn't support the nested "path" element. >> That was added in Ant 1.7.0, released two years ago. > Hmmm... For me the path element works and I have an ant 1.7.0... Guess I wasn't very clear 8-) <jar> supports nested <path> (or any file system based resource collection) as nested element and has started to do so with Ant 1.7.0. The original error message would occur if you used the build file with Ant 1.6.5 or earlier, the build file is fine for Ant 1.7.x. > Anyway I added the local.properties file as suggested and also > changed the path to fileset for the issue above. If you placed the new property element before the ones defining src and build you'd give people a chance to override these as well. This may be useful for ${build} in some rare cases (readonly working copy), but probably isn't important. > It seems, that in classpath should also contain pathelements instead > paths. Either should work with any Ant version from 1.6.0 upward and in fact lead to the same result, this is Ant's Path.java of Ant 1.6.0: public void setLocation(File location) throws BuildException { if (isReference()) { throw tooManyAttributes(); } createPathElement().setLocation(location); } > I'm not an ant guru, so someone with more ant experience > should have a look before committing. Looks fine to me. Stefan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---