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:${key.store}):"
addproperty="key.store.password" />

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

<echo>${key.store.password} ${key.alias.password}
${out.unsigned.package}</echo>
....
</target>

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.
Why?

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 


Catherine
-- 
View this message in context: 
http://ant.1045680.n5.nabble.com/Single-input-tag-asking-input-twice-tp3228317p3228317.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to