> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> Sent: 14 March 2001 08:29
> To: [EMAIL PROTECTED]
> Subject: Re: Feature Request for Ant 2: Line breaks in attribute values
>
>
> 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.
yeah - I noticed that it wouldn't be the cleanest implementation, which is
why I thought I would ask before going to the effort of implementing it...
anyone who likes the ideas give me a shout or forever hold your peace!

Cheers

Rob


>
> > 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