ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Anybody with GnuPG or PGP on Windows?
Date Thu, 11 Apr 2002 04:32:55 GMT
--- Stefan Bodewig <> wrote:
> > (Too bad you can't just exec 'stty -echo' :)
> Don't laugh, I've tried it some weeks ago - unfortunately it doesn't
> work.

It'd work from $HOME/.antrc:


echo -n "Password: "
stty -echo
read passwd
stty echo
ANT_OPTS="$ANT_OPTS -Dpasswd=$passwd"

Of course, if you didn't want to always prompt for a password, you'd need
to beef up the script a bit (probably have it parse the Ant command line
for a particular target -- and, of course, you'd only be able to run that
target from the command line, not as a dependency).

> And even if it did, I wouldn't win anything.  GnuPG and PGP
> work on Unix and I don't think stty is an option on Windows.

I'm not sure I follow this (except the bit about Windows not having 'stty'
:), but then again, I wasn't following this thread until your post about
not being able to turn echo'ing keyboard input off in Java.



Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

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

View raw message