David Corbin <[EMAIL PROTECTED]> wrote:
> I like to have the build system verify (and "install" if necessary)
> that various third-party librarys are available. I have one
> particular build.xml that does this. One of these third-party
> libraries is junit. The main build.xml uses the junit task.
You can use a <taskdef> to redefine the JUnit task using a <path> that
contains both, the freshly installed JUnit and the JUnit task
implementation.
You'll have to make sure, that the task implementation (usually in
optional.jar) does not get loaded by your system classpath though -
i.e. it may not be in CLASSPATH or ANT_HOME/lib.
Stefan