Running Ant build files
To run an Ant script in the Workbench:
- In the Navigator view, select an XML file.
- From the file's pop-up menu, select Run Ant. If the selected XML
file is a valid Ant script, the Ant wizard opens.
- Select one or more targets from the Available targets list. The order
in which you select the items is the order in which they will run. The order
is indicated by the number in square brackets to the left of the target.
- (Optional) Type any required arguments in the Arguments field.
- If you want output from the script to display in a console in the Workbench,
select Show execution log in console.
- Click Finish.
The Ant script will run on the selected targets. If you selected the
option, the Log Console displays any applicable execution results
after the script runs.
Once a script is run through the Ant wizard, it is automatically configured
as an external tool. In order to change the configuration or rerun the script,
go to the Run > External Tools menu.

Ant support
Builds
External tools

Running external tools
Modifying the Ant classpath
Using a different version of Ant
Adding new tasks and types