ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard_Lan...@capgroup.com
Subject Hidden property values with debug verbosity?
Date Wed, 10 Jan 2007 00:30:44 GMT
Does anyone have a method to suppress echo of selected property value when
debugging is enabled?

I am thinking of making a local change to the PropertyHelper class to print
"value hidden" for properties some how identified.
I wanted to check if anyone has another solution?

I am thinking of something like -Dant.hidden=<delimited list of property
values>
that contains a blank or comma delimited set of properties whose value
should never be output even IF debug is set.
Rather, the string "value hidden" will be shown.
I thought about a custom logger, but decided it was too complicated (maybe
I bite off more than I can chew).

We are using ANT to script installation in production systems and do not
want to output the values for certain properties to
show up in logs and things.

Maybe this can or should be added to the ANT core?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message