Adding a Task to an Ant Script

  1. In the Explorer, right-click a target node (target node icon) and choose Add and choose Task.
  2. Select a task from the combo box and click OK.

    The combo box lists all standard Ant tasks. The combo box also lists all custom tasks that have been previously referenced, either at the global level or in an individual target, in a build script that you have run in the IDE.

tip

The Add Task dialog box contains a special Help button that displays Ant manual pages for standard Ant tasks. The Help button changes to reflect the task currently selected in the combo box. If no task help page is available, the Help button is greyed out.

You can also view Ant task help by selecting the Explorer node for any standard Ant task and pressing F1.

See also

Ant Project Files
Creating an Ant Project
Editing an Ant Script
Configuring Ant Settings


Legal Notices