ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: New Feature Request - passwordChar on <input> task
Date Thu, 05 May 2005 19:41:23 GMT
Check the archives, this has been discussed ad-nauseum.

In summary, it's basically impossible to do in a portable, reliable way 
without there being native support for this in the VM.

JEC
-- 
Jeffrey E. Care (carej@us.ibm.com)
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


Ninju Bohra <ninju_bohra@yahoo.com> wrote on 05/05/2005 03:31:49 PM:

> 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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message