You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eli Tucker <ap...@nerdmonkey.com> on 2003/05/27 21:42:48 UTC

Including optional jars in project directories, not %ANT_HOME%/lib

What is the best way to have ant look in a project specific directory,
say ${basedir}/build-libs/, for JAR files needed in many of the optional
tasks such as JUnit and JDepend?  

I would like to have all JAR files required to perform a build in my
project's directory so that anyone can check out the project and type
"ant all" without worrying if they have the correct files in their
%ANT_HOME%/lib directory.  If possible, I would like to be able to do
this without requiring the builder to change his classpath before
calling ant.

Thanks,

 - Eli 

http://nerdmonkey.com