Hi Roger

sorry for the delay

On 2022/07/20 16:43:16 Roger Whitcomb wrote:
> Would it be as simple as calling PropertyHelper.replaceProperties(…) at line 
> 1143 in Main with the “targetDescription” string?

or a few lines later when you can be sure targetDescription is not null.

Yes, that would be one option, the other place could be Target's geDescription 
method. If you change it in Main it will only be fixed for the Ant CLI. If you 
change it in Target it would also start replacing properties for other types of 
integrations like IDEs.

To be honest I'm a bit torn here as users of Target.getDescription may not 
expect property replacement to happen and thus a change there could be viewed 
as a fix as well as breaking current behavior. In a way this is the same 
backwards compatibility discussion that has been part of Ant's history for more 
than twenty years now.

Stefan

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

Reply via email to