Community
Participate
Working Groups
Here is a contribution that adds to the eclipse ant support three new kinds of breakpoints: - File breakpoints: The goal of this breakpoint is to catch all calls to a file. This can be useful to know whether or not a file if being used during a build. - Target breakpoints: This is used to stop on a target with a given name (this is not bound to a file). For example in PDE Build we can use that to see all the calls to a wellknown target that is available in all the build scripts generated - Task breakpoints: This will stop on any invocation of a given task. For example catch all calls to mkdir. The only problem with this contribution is that it does not have any UI counterpart, and I don't really see how this can be made without polluting the breakpoint view. I will open another bug on that topic.
Created attachment 65624 [details] Patch to ant ui Note that this patch has not been tried against with the remote ant logger.
I have opened bug #185154 for the UI integration.
While using the patch I realized that it is not fully functional since hitting "play" once a target breakpoints has been encountered will cause the debugger to halt on the next line of the target.
This would be cool and really help people debugging things like ant-based build scripts. ;-)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.