How can I write my own ANT task?

How can I write my own ANT task?

Define the user defined custom script and use taskdef to define in the custom script.

One can use the tutorial-writing-tasks-src.zip file, which is available in $ANT_HOME/docs/manual directory.

How can I write my own ANT task?

In $ANT_HOME/docs/manual directory, there also is tutorial-writing-tasks-src.zip
Taskdef can be used to define it in the script.
Explain how to use ANT-contrib tasks
Explain how to use ANT-contrib tasks - Copy the ant-contrib.jar to the directory ant*/lib. Copy ant-contrib.jar to your ant*/lib directory.
....
Explain how to make ANT user interactive
Explain how to make ANT user interactive - The org.apache.tools.ant.input.InputHandler interface is used to implement the user input.....
J2ME: What is J2ME?
J2ME – Java 2 Platform Micro Edition. It is targeted at small, standalone or connectable consumer and embedded devices..
Post your comment