Java Mailing List Archive

http://www.ant-tasks.com/

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"
                classname="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.

Thanks
Stan.

--
View this message in context: http://www.nabble.com/Getting-classpath-attribute
-of-custom-task-tf4171205.html#a11866788
Sent from the Ant - Users mailing list archive at Nabble.com.


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


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.