>I would like to package a build.xml file into a JAR so that it can be
>referenced by other projects (using the ant antfile target). I 
>was thinking
>about using "classpath:..." in the antfile attribute, but that does not
>work. How can this functionality be achieved ?

You cant load the buildfile from an URL, because the project needs a
base directory with real "file access" so it can create directories,
resolve relative paths etc.

You could unzip the build.xml to a specified location and invoke that.


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to