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: AW: Way to refresh properties?
Date Tue, 14 Feb 2006 17:09:29 GMT
>Now, within that target, the properties are set according to 
>what I do on the form (and matches the properties file written 
>at that point). 
>However, in a later target, the value of a given property is 
>the value that was in the file BEFORE Antform rewrote it, 
>i.e., it is the value is started out as when the script ran.

Properties are immutable!


>So, I need a way to tell Ant to reload that properties file 
>and update the values accordingly.  

Ant wont.
You could reload them with another name using 
  <property prefix/>


>Alternatively, I need a 
>way for the property values set in the one task to replicate 
>to the rest of the script (some sort of scoping issue, but I'm 
>not sure how to deal with it).

properties are valid for the whole project.
There is only a difference when using <ant>,<subant>,<antcall>.


Jan

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


Mime
View raw message