Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 73349 invoked from network); 30 Aug 2005 13:23:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2005 13:23:20 -0000 Received: (qmail 59090 invoked by uid 500); 30 Aug 2005 13:23:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 59051 invoked by uid 500); 30 Aug 2005 13:23:14 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 59032 invoked by uid 99); 30 Aug 2005 13:23:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 06:23:13 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [143.165.201.19] (HELO maplee.tiaa-cref.org) (143.165.201.19) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 06:23:29 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Probs with property expansion in loops Date: Tue, 30 Aug 2005 09:23:20 -0400 Message-ID: <4C23D8CA64819D44BF3F8134E0CF0E650C094442@CHAPDMSXMB04.ad.tiaa-cref.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Probs with property expansion in loops Thread-Index: AcWtZUGawoH610IXQzikk8jC5w6A3QAAH5Xw From: "Burgess, Benjamin" To: "Ant Users List" X-OriginalArrivalTime: 30 Aug 2005 13:22:04.0530 (UTC) FILETIME=[D024C520:01C5AD65] X-Loop-Check: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N In core ant, properties are immutable. Also, there are no loops. However, using ant-contrib you can add a for loop. Also with ant-contrib you will have to use to unset the property. Ben Burgess -----Original Message----- From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de]=20 Sent: Tuesday, August 30, 2005 9:18 AM To: user@ant.apache.org Subject: Probs with property expansion in loops Hi, i have a problem with properties in scenario =3D Three lists : - list with all environments that should be served (loaded outside all loops) - list with all servers of one environment (loaded in loop 2) - list of files to be deleted on those servers - list of files to be copied to those servers (generated in the outer loop 1 by a java class, loaded in loop 3 and loop 4) Buildfile structure : ... =09 ... =09 @{delfile}" /> =20 @{copyfile}" /> Problem =3D Once the first time the updatelist and deletelist are loaded for the first environment =3D @{Lum} it cannot be overwrited for the next environment in the list ${Lums}. debugmode says : Override ignored for property updatelist Override ignored for property deletelist when getting into the loop for the second @{Lum} Question =3D How to make that loops work with a list of input properties, properties expanded correct ? If for loops are the wrong way, what should i do instead ? I wanted to avoid several foreach loops. Any hints ? Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ************************************************************** This message, including any attachments, contains confidential information = intended for a specific individual and purpose, and is protected by law. I= f you are not the intended recipient, please contact sender immediately by = reply e-mail and destroy all copies. You are hereby notified that any disc= losure, copying, or distribution of this message, or the taking of any acti= on based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org