ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Feature Request for Ant 2: Line breaks in attribute values
Date Wed, 14 Mar 2001 08:29:12 GMT
Rob Oxspring <> wrote:

> I've seen a few postings regarding the uglyness of multiline
> echoing; perhaps an interim (or complete) solution would be to
> augment the echo task with either a boolean "trim" attribute to
> decide whether to trim each line or not:

Possible - but ugly to implement as you cannot assume the text will be
passed to the task line by line. This means, you'll have to accept the
whole chunk of text and break it into lines after that.

> or a more xml like approach:
> <target name="makeini">
>     <echo file="${build.classes}\default.ini" trim="on">
>         <line>Name=Ant</line>

People are going to hate you for that 8-) To some the <include> and
<exclude> elements already mean to much nesting.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message