The Ant view provides a place to view Ant buildfiles and makes it easy to execute a buildfile or a given target within a buildfile. You can add files to the view and expand buildfiles to reveal the targets defined within them.
The pop-up menu for this view also allows you to open an editor on a buildfile, execute the selected target or buildfile, and configure the launch configuration used when executing.
Here is what the Ant view looks like:
Like other views in the Workbench, the Ant view has its own toolbar. Toolbar buttons are provided for adding buildfiles to the view and for executing them.
To add the Ant view to the current perspective, click Window > Show View > Other... > Ant > Ant.
|Add Buildfiles||Allows you to add buildfile(s) to the view.||View action and context menu|
|Add Buildfile with Search||Allows you to add buildfile(s) to the view using searching tools.||View action|
|Hide Internal Targets||Allows you to hide / filter all internal targets from the view.||View action|
|Run Selected Target||Allows you to run the selected target in the view.||View action|
|Remove Selected Buildfile||Allows you to remove the selected buildfile from the view.||View action and context menu|
|Remove All Buildfiles||Allows you to quickly remove all buildfiles from the view.||View action and context menu|
|Open With >||Allows you to open an editor on the selected buildfile.||Context menu|
|Refresh Buildfiles||Refreshes the contents of the view to reflect the current state of all the represented buildfiles.||Context menu|
|Run As > Ant Build||Launches an Ant build for the selected buildfile or for a specific selected target of the buildfile in Run mode.||Context menu|
|Run As > Ant Build...||Brings up the launch configuration dialog to edit the configuration associated with the selected buildfile in Run mode.||Context menu|
|Debug As > Ant Build||Launches an Ant build for the selected buildfile or for a specific selected target of the buildfile in Debug mode.||Context menu|
|Debug As > Ant Build...||Brings up the launch configuration dialog to edit the configuration associated with the selected buildfile in Debug mode.||Context menu|
Running Ant buildfiles
Modifying the Ant classpath
Adding new Ant tasks and types
Using a different version of Ant
Ant runtime preferences
External Tools and Ant icons