ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <>
Subject Re: Ant scp / user/password proper management
Date Thu, 08 Nov 2007 02:37:20 GMT

> 2) prompt the user. But there is not option to tell ant that the
> password should not be visible (seen as stars would be perfect).

In the upcoming Ant 1.7.1 release you can specify a secure input handler:

<input message="secure-input:>" addproperty="the.password">
   <handler classname=""/>

This will not echo your password out to the screen.  However:

1 - It requires Java6
2 - 1.7.1 isn't officially out quite yet (give us 2 weeks or so, fingers 

If you have Java6 and can wait a little while, then this will be the 
best option.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message