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 ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


Ninju Bohra <[EMAIL PROTECTED]> 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

Reply via email to