Running an Ant Script
See Also
The IDE runs targets in your project's Ant script any time you run commands
on your project. You can also manually run a target in any Ant script from
the Ant script's node in the Files window or Favorites window.
To run a target in an Ant script, do either of the following:
- Right-click the Ant script node and choose the target you want to run from
the Run Target submenu.
- Select the Ant script node to display its targets in the Navigator window.
Then right-click the target node and choose Run Target.
- The Output window displays compilation errors generated by Ant scripts
as normal Java code compilation errors. You can double-click any error message
to jump to the location in the source where the error occurred. See Output
Window for more information.
To stop a running Ant script:
- Choose Run > Stop Build/Run from the main menu.
- See Also
- Building a Project
- Mapping an Ant Target to an
IDE Command
- Editing an Ant Script
- Ant Classpath and Custom Tasks
Legal Notices