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:

  1. Make sure to open your build file in the ANT editor (right click build file -> with Open -> ant editor).
  2. Double click on the left margin of your build file where you want the breakpoint.
  3. Open Anti Vis (window -> View Show -> Ant)
  4. If the build file is not in the view, you can simply add it.
  5. Click on an ant target that you want to play and debug -> Ent Build
  6. Open the debug perspective and stop this process at your breakpoint where you It can move through
  7. 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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -