Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
New Feature Request - passwordChar on <input > task

New Feature Request - passwordChar on <input > task

2005-05-05       - By Ninju Bohra
Reply:     1     2     3  

Hello all,

I have created some targets that run <sql> tasks and for determing the user
name & password information to use (for the DB login) I use the <input> task, i
.e.

<target name="update_build">
    <input addproperty="db.user.name" message="What is your database name"/>
    <input addproperty="db.password" message="What is your database password"/>
    <sql>
         .
         .
         .
    </sql>
</target>

It would be great to have an optional attribute of the <input> task, let's say
called passwordChar, that if set would control which character(s) to display
instead of echoing the keyboard input.  So you could use
    <input addproperty="db.password" passwordChar="*" message="What is your
database password"/>

and all that would show up as the user types would a series of * (astericks)...

What do you guys think??



   
---------------------------------
Yahoo! Mail
Stay connected, organized, and protected. Take the tour

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.