ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Lochart <>
Subject Re: encrypted passwords with ant
Date Wed, 17 Aug 2005 14:58:42 GMT
I may not understand exactly what you want to do but you could always 
encrypt your passwords using Blowfish and store them in a properties 
file that way.  Then you have a couple of choices depending on how / 
where you use them.

1)  You could extend the Ant Tasks that use them to decrypt before applying.
2)  You could make the ant targets that use encrypted data depend on a 
target that will decrypt your password for you before you apply it.

#2 is probably the easiest and quickest.

good luck

Steve Loughran wrote:

> Barry White wrote:
>> Hi Mark,
>> not really an answer to your question but two solutions to this 
>> problem that I have used before:
>> - pass the variable in on the command line (ant -Dpassword:xxxxx)
> that makes it visible to everyone else on a unix box who types "ps" 
> with the right options. Not recommended.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message