ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Davies" <aaron.dav...@gmail.com>
Subject Re: ReplaceRegExp Task and line breaks
Date Tue, 18 Jul 2006 20:58:12 GMT
How about using entities? Are &#10; or &#xA; or &#lf; defined in the
XML dialect we're using?

On 7/18/06, Stefano Marsili <rsilistef@yahoo.com> wrote:
> I strongly doubt it's the easiest way to achieve what
> you want, but you could write a script or define a
> scriptdef that writes the \n (0x0A) to a property and
> use it. Anyway, if you want your build to be platform
> indipendent, I think ${line.separator} is still the
> best choice.
>
> Stefano Marsili
> PFunctions: http://www.efanomars.net/pf
>
> --- Alex Egg <eggie5@gmail.com> wrote:
>
> > Hi,
> >
> > I think some of your message got cut off... Is there
> > any way you can think
> > of to specify the line break literally in the xml
> > attribute?
> >
> > (Using the line.separator property works by the
> > way!)
> >
> > Thanks,
> > Alex
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Aaron Davies
aaron.davies@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message