Stefan Bodewig wrote:
>
> 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
So, you're saying extract the JunitTask.class from optional.jar, so it
isn't handled normally, and specify the path explictly...
--
David Corbin
[EMAIL PROTECTED]