How can I write my own ant task?
Answer / Prashant Kumar Shrivastava
To write your own Ant task, you'll need to create a Java class that extends `org.apache.tools.ant.Task`. Once the class is written, it should be added to your project's classpath and defined in the build.xml file using the taskdef element.
| Is This Answer Correct ? | 0 Yes | 0 No |
How many ways we can set properties into build ant file?
How you can explain ant property?
Explain how to make ant user interactive?
How we can deploy file on server using ant?
Explain how to compile using ant script?
List some basic functions performed by ant.
What is a build tool?
What is ivy?
What is dependency? How it is used into ant? What is its use?
How you can prepare a project in ant?
Can I put the contents of a classpath or fileset into a property?
How many types of build tool you know?