Handling User Input in an Ant Task

See Also 

The input task in Ant lets you ask a user for input when running an Ant script. The IDE displays the Input Handler dialog box whenever it encounters an input task during Ant script execution. The Input Handler dialog box contains the following elements:

tip For more information, see the Ant 1.6.1 manual. If you have the Ant Documentation module installed, you can view help for the input task by selecting any input task node in the Filesystems window and pressing F1.

You can also write your own dialog and configure the IDE to use your dialog when prompting users for input.

To replace the default Input Handler dialog:

  1. Choose Tools and choose Options from the main window.
  2. Expand the Building node and select Ant Settings.
  3. Type the full path to the JAR file containing the new dialog in the Additional Classpath property.
  4. Enter the fully qualified name for the dialog box's class in the Input Handler property.
See Also
Configuring Ant Settings
Ant Classpath and Custom Tasks
Installing Ant Documentation

Legal Notices