ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: loadproperties != property
Date Wed, 26 May 2004 05:36:16 GMT
<property file> loads a file and sets a property for each key-value pair.
<loadproperty> loads a file COMPLETELY AS VALUE for a specified key.

That what´s the manual sais...


Jan

> -----Original Message-----
> From: Mattias Brandstrom [mailto:brasse@ludd.luth.se]
> Sent: Tuesday, May 25, 2004 3:09 PM
> To: user@ant.apache.org
> Subject: loadproperties != property
> 
> 
> Hello!
> 
> I am using ant 1.5.4 and my loadproperties tasks behaves deifferently 
> from my property tasks (when loading from a file). In 
> particular I can 
> specify empty properties using the property task like this:
> 
> foo =
> 
> When specified like this in a file and loaded with a property 
> task the 
> property foo will get set to the empty string. When doing the 
> same with 
> loadproperties the property doesn't get set at all.
> 
> Is this really the way that the loadproperties task is 
> supposed to behave?
> 
> Regards,
> Mattias
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message