On Wed, 2 Jun 2004, Vincent Massol <[EMAIL PROTECTED]> wrote:

> The problem I have is that I'd like to download the junit jar as
> part of the build itself (which is what I currently do - It is put
> in anthome/lib) which currently does not work because the jar files
> in anthome/lib are added to the classloader only when Ant starts...

I see.  I don't think there is any "official" way to do what you want.

Now the unofficial way, don't tell anybody I had told you (this list
isn't archived, is it? ;-)

Ant's CVS HEAD contains an undocumented Classloader task that allows
you to add elements to an already existing class loader.  So far we've
not dared to publish it and probably won't merge it over into the 1.6
branch because of the potential problems and maintainance nightmares
it could create, but you may want to try it in your very limited
use-case.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to