Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can I write my own ant task?



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

Post New Answer

More Apache Ant Interview Questions

How many ways we can set properties into build ant file?

1 Answers  


How you can explain ant property?

1 Answers  


Explain how to make ant user interactive?

1 Answers  


How we can deploy file on server using ant?

1 Answers  


Explain how to compile using ant script?

1 Answers  


List some basic functions performed by ant.

1 Answers  


What is a build tool?

1 Answers  


What is ivy?

1 Answers  


What is dependency? How it is used into ant? What is its use?

1 Answers  


How you can prepare a project in ant?

1 Answers  


Can I put the contents of a classpath or fileset into a property?

1 Answers  


How many types of build tool you know?

1 Answers  


Categories