Well, regarding <junitreport> you can easily patch the xslt transformation to not output your password property. Howver, the password will still be visible in the xml reports so one solution is to delete them exactly after <junitreport> has finished.
Of course, it would be better in this case to have a nested tag in <junitreport> specifying which properties to include/exclude in the report: <junitreport> <outputproperties includes="..." exclude="mypassword"> </junitreport> because the password will not echoed neither in the xml report nor in the html one. Regards Ivan --- BOUSQUET Jeremie <[EMAIL PROTECTED]> wrote: > Just a remark : I used such InputHandler to manage > masked user input of a PVCS password, but then I > realized that my <junitreport> task generates an > HTML report with a link to a page listing all build > properties, including the one with my clear password > visible to anyone ... :/ > I did not implement any solution by now, I suppose I > would have to customize the report generated by > <junitreport>. > > Regards > Jeremie > > > -----Original Message----- > > From: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > > Sent: mercredi 17 août 2005 16:22 > > To: Ant Users List > > Subject: RE: encrypted passwords with ant > > > > 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] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]