java - ant debugging in eclipse -
I want to know about the debugging capabilities of ANT from Eclipse. In fact, I have an ANT Bild script written by a colleague and I want to move through every goal to see what the names of different functions are.
You can do this in Eclipse with these steps:
- Make sure to open your build file in the ANT editor (right click build file -> with Open -> ant editor).
- Double click on the left margin of your build file where you want the breakpoint.
- Open Anti Vis (window -> View Show -> Ant)
- If the build file is not in the view, you can simply add it.
- Click on an ant target that you want to play and debug -> Ent Build
- Open the debug perspective and stop this process at your breakpoint where you It can move through
- Sometimes it is necessary to define the logic at the time of debugging. It can be set by selecting: As the debug -> Creating ants and then selecting the argument is required. And then the values can be entered as: -Dprop.name = property value
Comments
Post a Comment