ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Catherine_iva <>
Subject Single input tag asking input twice
Date Wed, 20 Oct 2010 10:42:35 GMT

I have met an unexpected behaviour of ANT tool. 
I have a task :
<target name="release-obf-signed" depends="release-obf">
<!-- Gets passwords -->
<input message="Please enter keystore password (store:${}):"
addproperty="" />

<input message="Please enter password for alias '${key.alias}':"
addproperty="key.alias.password" />

<echo>${} ${key.alias.password}

When flow reaches first <input> tag it waits for input twice: first time
with message "Please enter keystore password " ,  then, after pressing the
'Enter' for the second time, without any message, only after the second time
it sets property with the second entered value.

My enviroment : 
ANT - Apache Ant version 1.7.1 compiled on October 20 2009
Android SDK Tools Revision 6, Platform Version: 1.6
JDK - Sun java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Thank you 

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message