You want an easier way to build Ant targets.
Open the Ant view by selecting Window Show View Other Ant. When you want to build a target, just double-click it in the Ant view, or right-click it and click Run.
The relatively new Ant view can make things a little more convenient , especially if you just want to double-click targets to build them. To open this view, select Window Show View Other Ant (or Window Show View Ant if you've opened this view before).
As shown in Figure 7-16, this view gives you an Ant-based overview of build files. To add a build file to this view, right-click the view, select Add Buildfile, and navigate to the build file you want to display. The view will display the targets in the build file; you can build various Ant targets by double-clicking them, or by right-clicking them and clicking Run.
Figure 7-16. The Ant view
22.214.171.124 Eclipse 3.0
In Eclipse 3.0, you also can add build files to the Ant view via drag-and-drop. Plus, the Ant view now shows a toggle button that allows internal build targets to be filtered out.