Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Workbench User Guide
Previous Page Home Next Page

Running Ant buildfiles

To run an Ant buildfile in the Workbench:

  1. In one of the navigation views, select an XML file.
  2. From the file's pop-up menu, select Run Ant.... The launch configuration dialog opens.
  3. 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.
  4. (Optional) Configure options on the other tabs. For example, on the Main tab, type any required arguments in the Arguments field.
  5. 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... .

Related concepts
Ant support
External tools

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

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire