Java ANT Question:

Download Job Interview Questions and Answers PDF

Tell me how to use ant-contrib tasks?

ANT Interview Question
ANT Interview Question

Answer:

1. Copy the ant-contrib.jar to the directory ant*/lib. Copy ant-contrib.jar to your ant*/lib directory.
2. Append the following code snippet to avail all the ant-contrib tasks.

<taskdef resource=”net/sf/antcontrib/antcontrib.properties”/>

Download ANT Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know how to debug my ant script?Tell me how to set classpath in ant?