On Tue, 13 Nov 2001, Ken Wood wrote:
>
> Peter Donald wrote:
> >
> > Hi,
> > <SNIP>
> > Because the tasks are not
> > installed with the actual tools (but instead in optional.jar) you end up
> > having to drop the tools into ant/lib.
>
> We use Junit. We don't have to put junit.jar into ant/lib.
> We just make sure our classpath is set up appropriately.
>
> Is there something I'm missing here?
>
The point is, that the tool's jars are loaded from the same classloader
as the tasks. As optional.jar is in the system classloader, junit.jar has
to reside there, too.
holger
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|