Alistair,
>
> > What I think you have to do is to explicitly define the classpath for
> > the <junit> task to include the ${build} directory. Take a look at
> > the Ant manual on how to do this.
>
> Thanks, Knut. But hat's just it. The project's ${build} directory _is_
> included in an explicit <classpath> element in the JUnit task - not
> that it really mattered: the same behaviour occurs - works through Ant
> in command-line, as individual unit tests, but not through Ant in
> Eclipse.
>
OK, I see I misunderstood your problem. I suggest you take a look at
this FAQ entry: http://ant.apache.org/faq.html#delegating-classloader.
Hope that helps...
--knut
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]