Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Ant password InputHandler(Is there a password InputHandler in eclipse)
Ant password InputHandler [message #659631] Mon, 14 March 2011 20:57
JR  is currently offline JR Friend
Messages: 2
Registered: August 2010
Junior Member
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
Previous Topic:Plugin context menu conditions
Next Topic:Problems with how to begin my android apps project?? HELP!!!?
Goto Forum:
  


Current Time: Fri Apr 26 21:10:58 GMT 2024

Powered by FUDForum. Page generated in 0.02461 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top