Can I ask what you mean? Do you mean that you are asking for a password from the command line in an ant script and you want to mask the password the user types in?
What task are you using to get the password?
What operating system are you using? Does this need to be cross platform?
Or is this "console" that you speak of part of an IDE or platform you are using?
If it is a simple <input> task in an Ant script, you can either write your own task to show a GUI element like this:
http://www.jera.com/tools/
Or if you don't want to show a GUI, and want to do it all on the command line, there's a pdf here which seems to show how it can be done:
http://downloads.sourcefor
(section 3)
If I've missed the point, you're going to have to give a bit more information that just repeating the title of your question twice...
Tim
Main Topics
Browse All Topics





by: mwecomputersPosted on 2008-11-13 at 05:26:46ID: 22949400
Need a bit more information. Please describe the steps you are taking and if possible post an example of what you are doing.