Yeah, that works:
I just used the lf ascii code and that works:
On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote:
Oops, that should of course be &lf;.
On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote:
> How about using entities? Are
or
or lf; defined in th
Oops, that should of course be &lf;.
On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote:
How about using entities? Are
or
or lf; defined in the
XML dialect we're using?
On 7/18/06, Stefano Marsili <[EMAIL PROTECTED]> wrote:
> I strongly doubt it's the easiest way to achieve what
> you wan
How about using entities? Are
or
or lf; defined in the
XML dialect we're using?
On 7/18/06, Stefano Marsili <[EMAIL PROTECTED]> 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
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
PFun
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
On 7/17/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
I think that should work. Basi
I think that should work. Basically, I think the problem is that the
XML attribute is being taken literally so \n is literally a backslash and n
Stefano Marsili wrote:
Hi Alex,
I didn't test it, but you could try
replace="${line.separator}${line.separator}"
Stefano Marsili
http://www.efan
Hi Alex,
I didn't test it, but you could try
replace="${line.separator}${line.separator}"
Stefano Marsili
http://www.efanomars.net/pf
--- Alex Egg <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using the replaceRegexp ant task and I want to
> replace whatever matches
> my pattern with 2 line brea
Hi,
I'm using the replaceRegexp ant task and I want to replace whatever matches
my pattern with 2 line breaks.
Right now I'm doing this:
however, it replace the file with the \n\n as literal text. How can I
replace these w/ 2 line breaks?