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). Thanks! 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 http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, February 14, 2006 11:57 am, [EMAIL PROTECTED] said: > <echoproperties destfile=""/> > > Jan > >>-----Ursprüngliche Nachricht----- >>Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >>Gesendet: Dienstag, 14. Februar 2006 17:54 >>An: user@ant.apache.org >>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 >>http://www.omnytex.com >>AIM: fzammetti >>Yahoo: fzammetti >>MSN: [EMAIL PROTECTED] >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] For >>additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]