How to specify a password parameter in Java task

"Al Le" <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <trinity-b904bb70-27ec-4008-ac4d-589d36e23894-1487962359842@3capp-gmx-bs74>
Hello,

in my ant script, I have a call to the "java" task. The parameters are specified via nested "arg" elements.

One of the parameters is a password; its value is not stored in the script but is calculated by a javascript and saved to an ant property.

When I run the script with the "-v" option that parameter is also written out to console, in clear text. Is it possible to tell ant to not write out the value in clear text but rather to display it as, say, '***'.

Something like <arg value="${myPassword}" isPassword="true"/>

Thanks!
AL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.