Hi,
i just did another test =
my property.xml
<?xml version="1.0" encoding="UTF-8" ?>
<bla>
...
<multiline>muß
Ä
Ö
ü</multiline>
</bla>
when using =
<echo file="bla.txt">${bla.multiline}</echo>
the multiline property is dumped as is to bla.txt
So there must be a difference between the filewriting in
echo and echoproperties task.
Maybe i can patch the echoproperties task, i'll have to check.
Regards, Gilbert
-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 10:43 PM
To: Ant Users List
Subject: Re: echoproperties and umlauts
Rebhan, Gilbert wrote:
> addition
>
> if i use =
>
> <echoproperties prefix="bla" destfile="temp.txt" format="xml"/>
>
> all works fine with linefeeds and umlauts,
> but i need it as "normal" propertyfile
>
Ant uses the java APIs to export a "normal" property file, meaning one
that is legal according to the java properties spec. The escaping and
line breaks are part of that legality. I dont see any obvious way to
change that behaviour.
-steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]