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

Best regards,
Hans Deragon

> On 2009-08-26, Hans Deragon <h...@deragon.biz> 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: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to