April 29, 2005
Passwords and Ant

A number of Ant tasks require passwords - server deployment, verson control, that kind of thing. How do you deal with them? I'm not happy about keeping them in properties files - not too secure - but I can't find any way of persuading Ant to prompt for them. Obviously, this problem has been solved long since, but I can't seem to track down the solution.

Posted to Java by Simon Brunning at April 29, 2005 05:44 PM
Comments


While I haven't used it, I believe the "input" task is what you're looking for.

Posted by: dave on April 29, 2005 06:57 PM

Can't help you out old man I'm afraid. But I may well need to become an Ant guru very quickly and very soon. Do you have any pointers to good tutorials or other associated learner type reading materials?

Posted by: Andy Todd on April 30, 2005 04:24 AM

I believe this article is just what you are looking for.....

http://www.jroller.com/page/eu/20050429#dealing_with_sensitive_information_in

Posted by: Bob on May 2, 2005 02:06 AM

Thanks. The 'input' task is certainly a step in the right directon. It would be nice if it didn't show the passwords as you typed them...

Posted by: Simon Brunning on May 3, 2005 01:30 PM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?