Hello, Check the article "Extending Ant Input Abilities" on [1] if you decide to <input> passwords and want to mask them; however, you can also write some code that srambles your passwords, keeps them in a property file and then you can have a task that descrambles them
Regards Ivan [1]http://ant.apache.org/resources.html --- BOUSQUET Jeremie <[EMAIL PROTECTED]> wrote: > Another idea: don't store the password, ask user > input when you need it. Maybe not what you want ... > > Regards, Jeremie > > > -----Original Message----- > > From: Petar Tahchiev > [mailto:[EMAIL PROTECTED] > > Sent: mercredi 17 août 2005 14:52 > > To: Ant Users List > > Subject: Re: encrypted passwords with ant > > > > On 17/08/05, Barry White <[EMAIL PROTECTED]> > 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) > > > > > > - use a properties file but only keep an example > of the file under > > > version control (project.properties.example) > > > > > > Barry > > > > > > Mark Lybarger wrote: > > > > i've looked around a bit and don't seem to > find any good > > ways to use > > > > an encrypted text with an ant task. > ideas/suggestions? > > basically, i > > > > don't > > > want > > > > to store a plaintext password for a userid on > a remote host in my > > > > ant > > > build > > > > script. i'd like to have an encrypted form of > the > > password somehow. > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] For > > additional > > > commands, e-mail: [EMAIL PROTECTED] > > > > > > > > It's just an idea: keep the passwords in a > property file, and > > keep that file in some directory where a few > people have > > granted access. Hope that helps. > > > > -- > > Regards, Petar! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]