ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Bug with property/propertyfile ?
Date Fri, 18 Jul 2003 12:27:40 GMT
> 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
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.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message