Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 60751 invoked by uid 500); 18 Jul 2003 12:27:42 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 60735 invoked from network); 18 Jul 2003 12:27:42 -0000 Received: from dnsinet.rzf-nrw.de (193.109.238.66) by daedalus.apache.org with SMTP; 18 Jul 2003 12:27:42 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.9/8.12.9) with ESMTP id h6ICRcBT029890 for ; Fri, 18 Jul 2003 14:27:38 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id <377KB7RL>; Fri, 18 Jul 2003 14:27:40 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF6C6D@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: RE: Bug with property/propertyfile ? Date: Fri, 18 Jul 2003 14:27:40 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C34D27.FADDD090" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C34D27.FADDD090 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > Hi all, >=20 > I am not really sure if this is a bug actually. >=20 > I used to write to a file, and then read from=20 > that file using > , > 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,=20 > and not the > recently written one. Properties in Ant are immutable, that means: once set the value of a property can=B4t be changed. > Here's my scenario: >=20 > I am using ant (with ant-contrib) to build and application=20 > and the below is > a snippet of how I try to execute > sql files to setup my database. New sql files are often=20 > added, and only the > new ones should be executed. > So I store the filenames of the sql files I have executed to=20 > exclude them > from the fileset. Sounds for a scenario for a selector ... maybe the selector. http://ant.apache.org/manual/CoreTypes/selectors.html#dateselect Jan ------_=_NextPart_001_01C34D27.FADDD090--