Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 83499 invoked from network); 19 Sep 2002 07:51:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Sep 2002 07:51:52 -0000 Received: (qmail 25278 invoked by uid 97); 19 Sep 2002 07:52:33 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 25262 invoked by uid 97); 19 Sep 2002 07:52:33 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 25250 invoked by uid 98); 19 Sep 2002 07:52:32 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <5DDFCC127CEED211A27200105A9CAB7B0142D794@S64P10BM756> From: EXT / FOCAL MALAPRADE Roland To: "'Ant Users List'" Subject: RE: If anybody is interested.. [foreach] task which doesnt run ou t of memory. Date: Thu, 19 Sep 2002 09:50:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Organization: S.N.C.F. French Railways X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Wow! Cool! thanks a lot. I'll try it out. Roland. -----Message d'origine----- De : Geoff Meakin [mailto:geoffm@isocra.com] Envoy=E9 : mercredi 18 septembre 2002 18:40 =C0 : Ant Users List Objet : RE: If anybody is interested.. [foreach] task which doesnt run out of memory. Dear Roland, Yes, the difficulty comes in with the fact that IfTask isnt really an org.apache.tools.ant.Task but is a ConditionBase instead, with private and Sequentials, so I cant access them, and notify them that they need to reset their properties. I've changed this by modifying execute() on Sequential so that it resets its properties from there instead, so your example now works (as does mine). This now happens with all , but I cant see how that should have any adverse effects. If you're happy with this, you can get the new version (ForEach2 v0.8.1) from the same place. Thanks for pointing this out :) Cheers -Geoff -----Original Message----- From: EXT / FOCAL MALAPRADE Roland [mailto:ext.focal.malaprade@sncf.fr] Sent: 18 September 2002 02:42 PM To: 'Ant Users List' Subject: RE: If anybody is interested.. [foreach] task which doesnt run out of memory. I've been trying to use it with an task as so: and this build script displays: main: [echo] combi is a1 [echo] combi is a1 [echo] combi is a1 [echo] combi is a1 [echo] combi is a1 [echo] combi is a1 [echo] combi is a1 [echo] combi is a1 [echo] combi is a1 Do you know why this is? -----Message d'origine----- De : Geoff Meakin [mailto:geoffm@isocra.com] Envoy=E9 : mercredi 18 septembre 2002 15:09 =C0 : Ant Users List Objet : RE: If anybody is interested.. [foreach] task which doesnt run out of memory. Yes, it appears so: Gives the output: combi is a1 combi is a2 combi is a3 combi is b1 combi is b2 combi is b3 combi is c1 combi is c2 combi is c3 Cheers -Geoff -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: