Rob Oxspring <[EMAIL PROTECTED]> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to