Community
Participate
Working Groups
An action in in the External Tools sub-menu of the Run menu that would invoke Ant on the active editor. The action would be disabled if the editor input was not an xml file.
A better feature in my opinion would be to make it possible to launch ant with the -find argument from any resource. (e.g. ant -find build.xml) - and then make it possible to asign a global key to this and it would be possible to activate ant from anywhere on any resource - without having to wander around the project structure to find the exact build.xml.....exactly as it is possible in Emacs JDEE if anyone knows it :). A better integration would of course make eclipse search for the build.xml and provide a dialog that lets one enter the desired target from a list of possible candidates... just a thought...
The Ant View written by Roscoe Rush provides the feature Max requested. Pressing the "Refresh" button finds all ant XML files and adds them to the view. The view presents the ant file in a tree so the user can expand it to see targets and launch targets directly. I'm optimistic that we can get Roscoe's view integrated into the 2.1 stream.
We should provide the "Run As... -> Ant Script" action in the external tools drop-down. This should be provided for free when the debug platform is updated to support launch shortcuts via the launch group extension. (See bug 26503). When this support is in, we need to update the definition for the ant launch shortcut.
Please verify. Set an active editor. Use Run->External Tools->Run As->Ant Build
Verified. Please update the build notes (darinS).