Ant Editor Tweaking [message #328725] |
Mon, 02 June 2008 16:23 |
Eclipse User |
|
|
|
Originally posted by: mike.aol.com
We have built tooling based on custom ant tasks, and we really like the
built-in ant editor. However, for our users the editor presents false
errors that we'd like to suppress.
The false errors are due to missing imported targets. For our runtime
environment, these targets are added via one our custom tasks, e.g.:
<foo.import.targets list="bar"/>
The effect of executing this task is to import, e.g. targets a and b,
which are then used on subsequent depends attributes.
Understandably, the ant editor has no notion of what the
foo.import.targets custom task is doing.
My initial thought is that we could write a new editor which provides
subclasses and overrides for some of the built-in editor classes, e.g.
overriding AntEditor.getAntModel().
I'd really like to know if there is a better way.
Thanks,
Mike Gering
|
|
|
Powered by
FUDForum. Page generated in 0.28006 seconds