Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
Getting classpath attribute of custom task

Getting classpath attribute of custom task

2007-07-30       - By stanS
Reply:     1     2     3  

Lets say I have a taskdef in the build.xml
  <taskdef name="mytask"
                classpath="path-to/my.jar" />

How do I get the 'classpath' part in the custom task that derived from Ant
Task class?
Could you point me to the right API?

I want to use that classpath back with a 'java' task.


View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.