ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: [Propertyfile task] How to not escape :
Date Mon, 28 Jul 2003 12:58:38 GMT
It does look like a bug in the propertyfile task.
The task excapes all :'s in a line, however reading
the javadoc for java.util.Property#load(), this
does not seem to be necessary.

Peter

On Mon, 2003-07-28 at 13:17, Antoine Levy-Lambert wrote:
> You can try alternatively the <echo/> task
> <echo file="some.properties">
> property1=${myurl}
> ...
> </echo>
> this works too
> Antoine
> ----- Original Message -----
> From: "Iwan" <java@i-ware.net>
> To: "'Ant Users List'" <user@ant.apache.org>
> Sent: Monday, July 28, 2003 12:34 PM
> Subject: [Propertyfile task] How to not escape :
> 
> 
> Hi,
> 
> I'm trying to create a property-file containing a set of URLs in it, but the
> propertyfile task escapes every colon (:) resulting in \: sequences in the
> property-file which I can't use in my code. How can I create this
> property-file without escaping the colon?
> 
> Iwan
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 


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


Mime
View raw message