Running Ant buildfiles
To run an Ant buildfile in the Workbench:
- In one of the navigation views, select an XML file.
- From the file's pop-up menu, select Run Ant.... The launch configuration
dialog opens.
- Select one or more targets from the Targets tab. The order
in which you select the items is the order in which they will run. The order
is displayed in the Target execution order box at the bottom of the tab.
You can change the order of the targets by clicking the Order... button.
- (Optional) Configure options on the other tabs. For example, on the Main tab,
type any required arguments in the Arguments field.
- Click Run.
The Ant buildfile will run on the selected targets. Unless you disabled the Capture
output option on the Main tab, the console displays any applicable execution results
as the buildfile runs.
These steps create a persisted launch configuration. The newly created configuration will
appear in the launch history under Run > External Tools and will be available in the
launch configuration dialog which is opened by clicking
Run > External Tools > External Tools....
Ant support
Builds
External tools
Running external tools
Modifying the Ant classpath
Using a different version of Ant
Adding new Ant tasks and types