programming:java:ant
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
programming:java:ant [2023/11/01 07:31] – removed - external edit (Unknown date) 127.0.0.1 | programming:java:ant [2023/11/01 07:31] (current) – ↷ Page moved from camunda:programming:java:ant to programming:java:ant skipidar | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Apache Ant ===== | ||
+ | === Debugging Ant === | ||
+ | To debug Ant you can enable let ant wait for the debugger to attach, | ||
+ | then you may attach to the debugger from Eclipse IDE. | ||
+ | |||
+ | To make a java application wait for debugger to attach the following JVM params have to be passed to it | ||
+ | < | ||
+ | **-Xdebug -Xrunjdwp: | ||
+ | </ | ||
+ | To Ant they may be passed via the environment param **ANT_OPTS** \\ | ||
+ | After that you can launch the ant applicaion. | ||
+ | < | ||
+ | cls | ||
+ | |||
+ | $env: | ||
+ | echo ($env: | ||
+ | |||
+ | #ant createXLSFile | ||
+ | ant writeProperties | ||
+ | </ | ||
+ | |||
+ | |||
+ | To attach with the debugger with Eclipse IDE use the Debug COnfiguration and set the Breaking Point, to stop on an uncatched Exception \\ | ||
+ | {{http:// |