> Hi all,
> 
> I am not really sure if this is a bug actually.
> 
> I used <propertyfile> to write to a file, and then read from 
> that file using
> <property file="">,
> and write again, then read again, etc.
>
> However, after writing to the file and reading from it,
> the value that is read is still the original value sometimes, 
> and not the
> recently written one.


Properties in Ant are immutable, that means: once set the value of a
property
can�t be changed.


> Here's my scenario:
> 
> I am using ant (with ant-contrib) to build and application 
> and the below is
> a snippet of how I try to execute
> sql files to setup my database. New sql files are often 
> added, and only the
> new ones should be executed.
> So I store the filenames of the sql files I have executed to 
> exclude them
> from the fileset.

Sounds for a scenario for a selector ... maybe the <date> selector.
http://ant.apache.org/manual/CoreTypes/selectors.html#dateselect




Jan

Reply via email to