Creating a Shortcut to a Target
You can use the Shortcut to Target template to create a mini-script that serves
as a shortcut to a commonly used target. You can also customize the way the
target is run. The shortcut can be saved as as a menu item, toolbar button,
keyboard shortcut, or project link.
To create a shortcut to a target:
- Choose File
New from
the main window.
- Expand the Ant Build Scripts node, select Shortcut to Target, and click
Next.
- Specify where you want to place the target and whether you want to customize
its Ant code. Click Next to proceed.
- Select the target in the Select Ant Target pane. The target must already
exist in a mounted filesystem. A shortcut can only point to one target. Click
Next to proceed.
- Add or change any of the shortcut script's elements, such as tasks or properties.
This pane only appears if you selected the Customize generated Ant code checkbox
in pane 2.
- Use the remaining panes of the wizard to assign the shortcut to a project,
toolbar, menu, or keyboard shortcut. Make sure you do not overwrite any existing
keyboard shortcuts. You can view existing keyboard shortcuts by choosing Tools
Keyboard Shortcuts.
The wizard only shows those steps that you selected in pane 2.
- When you have specified all of the necessary information, click Finish.
The shortcut is created in the specified locations.
Legal Notices