Java ANT Question:

Do you know how to debug my ant script?

Tweet Share WhatsApp

Answer:

Ant script can be debugged in the following ways:

By echoing at the place to debug. The problem is easily known. This is similar to printf () function in C and System.out.println() in Java
By using project.log (“message”) in the java script or the customized ant task.
By running Ant with –verbose / -debug options. These options provide more information on what is the process going and at which location

Download ANT PDF Read All 11 ANT Questions
Previous QuestionNext Question
Tell me how to use Runtime in ant?Tell me how to use ant-contrib tasks?