ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Oxspring" <roxspr...@yahoo.com>
Subject RE: Feature Request for Ant 2: Line breaks in attribute values
Date Thu, 15 Mar 2001 04:06:12 GMT
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: 14 March 2001 08:29
> To: ant-dev@jakarta.apache.org
> Subject: Re: Feature Request for Ant 2: Line breaks in attribute values
>
>
> Rob Oxspring <roxspring@yahoo.com> 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: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org


Mime
View raw message