Community
Participate
Working Groups
in I20021216: When running "Run As->Ant build..." or "Run Ant.." eclipse just runs the current or nearest build.xml file which is fine, but there does not seem to be any way to have eclipse query for which target that one wishes to run. It should provide a dialog in which one can just press enter to run the default target, and optionally just enter/select the target that one wishes to run.
Moving to Ant
The "Run Ant..." action in the navigator menu brings up a the launch configuration dialog, where you can select the target to run from the "targets" tab, before pressing "Run". The "Run As->Ant Build" action is intended to be a launch shortcut that mimics the "-find" behavior, and does not prompt for targets. However, we intend to improve target selection by opening a dialog that displays a single launch config (instead of all), and we may move the target seleciton to the first tab, or at least make it the active tab.
Ok - and to mimic the "-find" option the user should be able to provide target names also, right ? (just asking to see if I understood your last comment :)
The "-find" option provided by the "Run As -> Ant Build" does not prompt for targets. This is a new feature request.
Revisit post 2.1
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.