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.5.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 Explorer 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. Put the JAR file containing the new dialog in the modules/patches/org-apache-tools-ant-module/ directory of your IDE install directory.
  2. Choose Tools and choose Options from the main window.
  3. Expand the Building node and select Ant Settings.
  4. Enter the fully qualified name for the dialog box's class in the Input Handler property.
See Also
Configuring Ant Settings
Installing Ant Documentation

Legal Notices