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
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
Previous Question | Next Question |
Tell me how to use Runtime in ant? | Tell me how to use ant-contrib tasks? |