Eclipse provides a standard view, the Ant view, that lets you work with your Ant buildfiles. This view is tree-structured, showing Ant buildfiles as top-level entries and targets & internal targets as children. The main advantage of this view is that you can work with all of your Ant buildfiles in one place, as opposed to hunting them down in one of the navigation views.
].
This brings up a dialog in which you explicitly select those Ant buildfiles
you want to add
].
This brings up a search dialog in which you can specify a filename pattern
for your Ant buildfiles and search within the entire workspace or a specified
working set.H. Enter H*.xml for
the buildfile name. Make sure Workspace is selected for the scope, then click
Search. The HelloWorld.xml file is found and placed in the Ant view.Hello, and the internal
target World.
World internal target and click Run the Selected Target [
].
Notice that just the World target gets executed. HelloWorld buildfile and click Run the Default
Target of the Selected Buildfile [
].
Notice that just the default target, Hello, gets executed.HelloWorld file
and select Open With > Ant Editor.HelloWorld file, then click the Remove button. The buildfile
is removed from the view.

Creating Ant buildfiles
Editing Ant buildfiles
Saving & Reusing Ant options
Running Ant buildfiles
Creating a project builder Ant buildfile
Ant buildfiles as project builders
Executing project builders
External tools
Non-Ant project builders
Stand-alone external tools