ant: how to input password?
IDEA provide awesome inputHandler for ant - when run ant tasks within IDEA <input> target have GUI. I need to ask password in my build file, in the ant documentation this look like this:
<input message="Enter password:" addproperty="password">
<handler classname="org.apache.tools.ant.input.SecureInputHandler" />
</input>
When run build from console all works fine, but when run build within IDEA it seems that IDEA's inputHandler is disabled - GUI is not shown, and I cant input my password anyway.
Have anybody some workaround(maybe without GUI password prompt, but with possibility to input password within IDEA)?
请先登录再写评论。
Sorry, found similar question with response - http://devnet.jetbrains.net/message/5219931
But password is not masked unfortunately, see https://intellij-support.jetbrains.com/hc/en-us/community/posts/206173509-Accessing-the-Ant-SecureInputHandler-in-an-Ant-Build-File