ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <>
Subject Re: AW: Way to refresh properties?
Date Tue, 14 Feb 2006 17:04:27 GMT
That didn't work for me... maybe I should explain in more detail...

I have an external properties file.  This file has some properties that
all either have the value true or false.  In a target I use Antform to set
these properties.  Antform rewrites that properties file with the
appropriate values.

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.

So, I need a way to tell Ant to reload that properties file and update the
values accordingly.  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).


P.S., I just noticed <LoadProperties>, but that didn't seem to do it either.

Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
AIM: fzammetti
Yahoo: fzammetti

On Tue, February 14, 2006 11:57 am, said:
> <echoproperties destfile=""/>
> Jan
>>-----Urspr√ľngliche Nachricht-----
>>Von: Frank W. Zammetti []
>>Gesendet: Dienstag, 14. Februar 2006 17:54
>>Betreff: Way to refresh properties?
>>Is there a way to refresh properties stored in an external
>>properties file?
>>I'm playing with Antform, and the situation I have is that
>>when I set some properties with it, they don't get changed
>>right away apparently... so, one way to solve it would be if I
>>could tell Ant to reload the properties from the file that was
>>written out by Antform.
>>Is that possible?  Thanks!
>>Frank W. Zammetti
>>Founder and Chief Software Architect
>>Omnytex Technologies
>>AIM: fzammetti
>>Yahoo: fzammetti
>>To unsubscribe, e-mail: For
>>additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message