For posterity, I confirm that it works.  Thank you.

Best regards,
Hans Deragon

> On 2009-08-26, Hans Deragon <[email protected]> wrote:
>
>> Now the question is:  how can I access the instance of AntClassLoader
>> being used by ant and which contains all the -lib entries?
>
> Use a class loaded by that classloader, say
>
> org.apache.tools.ant.Main.class.getClassloader()
>
> this will be an instance of AntClassLoader which has a convenience
> getClasspath() method which should give you a formatted PATH.
>
> Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to