When running ant scripts from the command line you can specify that you don't want to echo your keystrokes (password input).
<input message="password:>" addproperty="password">
<handler classname="org.apache.tools.ant.input.SecureInputHandler" />
</input>
Is there a class to do the same when running my ant script from inside eclipse? Eclipse "hangs" when I use the above handler from within eclipse.
The eclipse handler seems to be: org.eclipse.ant.internal.ui.antsupport.inputhandler.AntInputHandler
which creates a InputDialog() and InputDialog instantiates a org.eclipse.swt.widgets.Text widget. The Text widger has a style of "PASSWORD" so it might be simple to implement a PasswordInputDialog and a AntPasswordInputHandler to allow inputting passwords.
Eclipse Version Information:
Eclipse Java EE IDE for Web Developers.
Version: Helios Release
Build id: 20100617-1415
JR