ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: echoproperties and umlauts
Date Thu, 29 Dec 2005 16:31:30 GMT

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

 Regards, Gilbert

-----Original Message-----
From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] 
Sent: Thursday, December 29, 2005 5:16 PM
To: user@ant.apache.org
Subject: echoproperties and umlauts


Hi,

i'm dumping a xmlproperty file to a file =

<xmlproperty file="${ant.working.dir}/props.xml"/>

<!-- dumping to tempfile -->
<echoproperties prefix="" destfile="temp.txt" />

Problems = 
1.
the xmlproperty file contains a multilineproperty
that contains german umlauts (ä,ü,ö and ß)

Now the textfile contains, i.e
\u00DF instead of ß
\u00FC instead of ü

and so on

2.
the linefeeds of the multilineproperty appear as \n\n
the multi lines are all written on one line

Question =

How to achieve that the properties are dumped as
they are - mulitline and with umlauts ?

Any hints ?

Regards, Gilbert

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


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


Mime
View raw message