ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Giroux" <mlgir...@gmail.com>
Subject Would like to suppress leading spaces in multi-line <echo> and <concat>
Date Mon, 01 May 2006 17:32:31 GMT
Given that most ANT scripts use some form of indentation to improve
readability, it would be nice if the <echo> task had an option to
strip leading white-space.  In general, I would like the messages that
are sent to System.out (or logger) to be void of the leading
whitespace.

ex.

<echo>first line of message
    second line of message
    third line of message
</echo>

The nested <header> element of the <concat> task does provide a
trimleading option, but that only applies to the header text.

Having a trimleading attribute for both <echo> and <concat> would be very nice.

Michael Giroux

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


Mime
View raw message