Your best reference for Ant tasks is Ant's own source code. Check Jakarta's CVS for details or download the Ant source distribution.

If you shared your example details with us, I'm sure we could help get you on the right track with it.

Chapter 19 of Java Development with Ant has this review about its Ant internals, and I of course wholeheartedly recommend it too:

"I'm planning on extending ANT to do specialized testing, so I intend to write custom tasks. I've learned more about ANT's internals reading 4 PAGES (467-470)..." [than one of the other Ant books, won't mention here, no need go there]

Erik


On Thursday, January 30, 2003, at 09:17 PM, Janet Abdul-Karim wrote:

I am having problems with creating my own task using ant. I have looked at examples but they are not detailed enough to give me a better idea of what I should do. I am suppose to create a java file to extend class which I understand, but the other requirments like getting the project name and description i don't understand. in my .xml file i have the name of the project does the java class extract the name from the .xml file.



If someone can show me a better example of creating an ant task. I would greatly appreciate it.



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

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

Reply via email to