cvs commit: ant/docs/manual/CoreTasks input.html
stevel 2005/03/02 13:45:11 Modified:docs/manual/CoreTasks input.html Log: please stop complaining about the echo Revision ChangesPath 1.12 +10 -0 ant/docs/manual/CoreTasks/input.html Index: input.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/input.html,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- input.html15 Feb 2004 15:18:47 - 1.11 +++ input.html2 Mar 2005 21:45:10 - 1.12 @@ -29,6 +29,16 @@ a property should be set by the task that has already been set in the project (and the task wouldn't have any effect)./p +pA regular complaint about this task is that it echoes characters to the +console, this is a critical security defect, we must fix it immediately, etc, etc. +We know it leaves something to be desired, but the problem is Java, not Ant. +There is nothing we can do to stop the console echoing. /p + +p +IDE behaviour depends upon the IDE: some hang waiting for input, some let you +type it in. For this situation, place the password in a (secured) property +file and load in before the input task./p + h3Parameters/h3 table border=1 cellpadding=2 cellspacing=0 tr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTasks input.html
ehatcher2004/02/15 07:18:47 Modified:docs/manual/CoreTasks input.html Log: correting typos Revision ChangesPath 1.11 +3 -3 ant/docs/manual/CoreTasks/input.html Index: input.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/input.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- input.html9 Feb 2004 21:50:05 - 1.10 +++ input.html15 Feb 2004 15:18:47 - 1.11 @@ -17,8 +17,8 @@ pThe prompt can be set via the message attribute or as character data nested into the element./p -pOptinonally a set of valid imput arguments can be defined via the -validargs attribute. Input task will no accept value that don't match +pOptionally a set of valid input arguments can be defined via the +validargs attribute. Input task will not accept a value that doesn't match one of the predefined./p pOptionally a property can be created from the value entered by the @@ -56,7 +56,7 @@ td valign=topthe name of a property to be created from input. Behaviour is equal to a href=property.htmlproperty task/a which means that existing properties cannot be -overriden./td +overridden./td td valign=top align=centerNo/td /tr tr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/CoreTasks input.html
bodewig 2003/04/07 09:05:57 Modified:docs/manual/CoreTasks input.html Log: Document input's defaultvalue attribute. PR: 18717 Submitted by: Jan Matèrne jan at materne dot de Revision ChangesPath 1.8 +17 -1 ant/docs/manual/CoreTasks/input.html Index: input.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/input.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- input.html4 Sep 2002 11:05:16 - 1.7 +++ input.html7 Apr 2003 16:05:57 - 1.8 @@ -56,6 +56,13 @@ overriden./td td valign=top align=centerNo/td /tr + tr +td valign=topdefaultvalue/td +td valign=topDefines the default value of the property to be +created from input. Property value will be set to default if no +input is received./td +td valign=top align=centerNo/td + /tr /table h3Examples/h3 pre lt;input/gt;/pre @@ -95,8 +102,17 @@ pWill display the message quot;Please enter db-username:quot; and set the property codedb.user/code to the value entered by the user./p +pre lt;input +message=quot;Please enter db-username:quot; +addproperty=quot;db.userquot; +defaultvalue=quot;Scott-Tigerquot; + /gt;/pre +pSame as above, but will set codedb.user/code to the value +iScott- Tiger/i if the user enters no value (simply types +lt;returngt;)./p + hr -p align=centerCopyright copy; 2001-2002 Apache Software Foundation. All rights +p align=centerCopyright copy; 2001-2003 Apache Software Foundation. All rights Reserved./p /body /html