You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Michael Giroux <ml...@gmail.com> on 2006/05/01 19:32:31 UTC

Would like to suppress leading spaces in multi-line and

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