Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 86189 invoked by uid 500); 21 Jul 2003 10:17:18 -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 86157 invoked from network); 21 Jul 2003 10:17:13 -0000 Received: from s-97-26.dsl.cleardatavoice.com (HELO gridnode.com) (202.83.97.26) by daedalus.apache.org with SMTP; 21 Jul 2003 10:17:13 -0000 Received: from daniel ([192.168.213.146]) by gridnode.com (8.11.6p2/8.9.3) with SMTP id h6LAQ3E32461 for ; Mon, 21 Jul 2003 18:26:04 +0800 Reply-To: From: "Daniel Joshua" To: "'Ant Users List'" Subject: RE: Bug with property/propertyfile ? (Solved) Date: Mon, 21 Jul 2003 18:17:54 +0800 Message-ID: <019a01c34f71$5ad54190$92d5a8c0@sgxdev.gridnode.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <02ad01c34d26$1ad887c0$92d5a8c0@sgxdev.gridnode.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I figured out my problem ealier today. All I did was to remove the [inheritall="true"] from the task and pass in the appropriate s, then the was able to get the updated value on each call. Thanks for reminding me that properties are immutable. Regards, Daniel -----Original Message----- From: Daniel Joshua [mailto:daniel.joshua@gridnode.com] Sent: Friday, 18 July, 2003 8:14 PM To: 'Ant Users List' Subject: Bug with property/propertyfile ? Hi all, I am not really sure if this is a bug actually. I used to write to a file, and then read from 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, and not the recently written one. 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. Regards, Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org