diff --git a/WHATSNEW b/WHATSNEW
index 7875e2f08..0c25ab4dc 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -141,7 +141,7 @@ Other changes:
* New tasks Allows user interaction during the build process by displaying a message and
-reading a line of input from the console (System.in). The user will need to press
-the Return key.
- The message displayed can be set via the message attribute
-or as character data nested into the element. Optinonally a set of valid imput arguments can be defined via the validargs
-attribute. Input task will require the user to reenter values until the entered
-value matches one of the predefined. Optionally a property can be created from the value entered by the user. This
-property can then be used during the following build run. Input behaves according
-to property task which means that existing properties
-cannot be overriden. Allows user interaction during the build process by prompting for
+input. To do so, it uses the configured
+InputHandler. The prompt can be set via the message attribute or as character
+data nested into the element. Optinonally a set of valid imput arguments can be defined via the
+validargs attribute. Input task will no accept value that don't match
+one of the predefined. Optionally a property can be created from the value entered by the
+user. This property can then be used during the following build
+run. Input behaves according to property
+task which means that existing properties cannot be overriden. Will pause the build run until return key is pressed. Will pause the build run until return key is pressed when using the
+default
+InputHandler, the concrete behavior is defined by the InputHandler
+implementation you use. Will display the message "Press Return key to continue..." and pause
-the build run until return key is pressed. Will display the message "Press Return key to
+continue..." and pause the build run until return key is pressed
+(again, the concrete behavior is implementation dependent). Will display the message "Press Return key to continue..." and pause
-the build run until return key is pressed. Will display the message "Press Return key to
+continue..." and pause the build run until return key is pressed
+(see above).Input
Description
-Parameters
@@ -31,37 +35,44 @@ cannot be overriden.
message
- the Message which gets displayed to the user during the build run.
+ the Message which gets displayed to the user
+ during the build run.
No
validargs
- comma separated String containing valid input arguments. If set,
- input task will reject any input not defined here and input task will
- require the user to reenter arguments until the entered one matches one of the
- predefined. Validargs are compared case sensitive. If you want 'a' and 'A' to
- be accepted you will need to define both arguments within validargs.
+ comma separated String containing valid input
+ arguments. If set, input task will reject any input not defined
+ here. Validargs are compared case sensitive. If you want 'a' and
+ 'A' to be accepted you will need to define both arguments within
+ validargs.
No
addproperty
- the name of a property to be created from input. Behaviour is equal
- to property task which means that existing properties
- cannot be overriden.
+ the name of a property to be created from
+ input. Behaviour is equal to property
+ task which means that existing properties cannot be
+ overriden.
No
Examples
<input/>
- <input>Press Return key to continue...</input>
- <input
message="Press Return key to continue..."
/>
-
<input
message="All data is going to be deleted from DB continue (y/n)?"
@@ -73,9 +84,10 @@ the build run until return key is pressed.
Will display the message "All data is going to be deleted from DB continue -(y/n)?" and require 'y+retrun key' to continue build or 'n+return key' -to exit build with following message "Build aborted by user.".
+Will display the message "All data is going to be deleted from +DB continue (y/n)?" and require 'y' to continue build or 'n' to +exit build with following message "Build aborted by +user.".
<input message="Please enter db-username:" addproperty="db.user" @@ -84,7 +96,7 @@ to exit build with following message "Build aborted by user.". propertydb.user
to the value entered by the user.
-Copyright © 2001 Apache Software Foundation. All rights +
Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.