ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: echoproperties and umlauts
Date Fri, 30 Dec 2005 08:06:28 GMT


i just did another test =

my property.xml

<?xml version="1.0" encoding="UTF-8" ?> 

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 [] 
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message