ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: filterchain and expandproperties
Date Wed, 02 Jul 2003 12:28:02 GMT
If you load the file via <property file=""> it should work (I have done that
often).
Personally I haven´t used the <loadproperties> yet, so I can´t say nothing.


Jan


> -----Ursprüngliche Nachricht-----
> Von: Oliver Fischer [mailto:plexus@snafu.de]
> Gesendet am: Mittwoch, 2. Juli 2003 14:17
> An: user@ant.apache.org
> Betreff: filterchain and expandproperties
> 
> Hello,
> 
> if I load an file like this:
> 
>    <loadproperties srcFile="build.properties.libraries">
>      <filterchain>
>        <expandproperties/>
>      </filterchain>
>    </loadproperties>
> 
> and build.properties.libraries looks like this:
> 
> km.jbossdistbase=${km}/java/jboss
> km.jboss.3_0_4=${km.jbossdistbase}/3.0.4
> 
> Unfortunately it seems so, that the property in the second 
> line is never 
> expanded. Can this be so, that I can not use properties, that are 
> defined in the same file?
> 
> Bye
> 
> Oliver
> 
> 
> ---------------------------------------------------------------------
> 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