ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Giroux" <>
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


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

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:
For additional commands, e-mail:

View raw message