I want to execute Ant with the verbose option but I don't want the arguments passed into the Exec task to be displayed in situations where they are sensitive (i.e. user/password).
An example is where there's a connection to a database:
<exec executable="/bin/sh" failonerror="true">
<arg line="/opt/blah/blah/bin/frmcmp_batch.sh Module=blah Userid=username/mypassword@blah Module_Type=blah"/>
</exec>
I don't want the arguments (specifically "Userid=username/mypassword@blah" showing up in the log).
What is the best way to hide/secure the arguments?