Executing a Target
An Ant project can contain one or more targets, which can be executed individually
or in a dependency-driven sequence. You can run the project's default target
by right-clicking its Explorer node and choosing Execute.
You can run a specific target in any of the following ways:
- In the Explorer, expand the Ant project node and double-click the target
node.
- Right-click the Ant project node and choose the target from the Run Target
submenu.
- Right-click the Ant project node and choose Properties. In the Execution
tab, click the ellipsis (...) button in the Executor property to open the
Executor property editor. In the Run Target(s) property, type the targets
to be run and click OK. This action makes these targets the default targets
run by all Ant scripts that use Ant Script Execution.
- Create a shortcut to the target and store it as a toolbar button, menu item,
keyboard shortcut, or project link.
Legal Notices