Do you know how to debug my ant script?

Submitted by: Administrator
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
Submitted by: Administrator

Read Online Java ANT Job Interview Questions And Answers