Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 66014 invoked from network); 7 Jan 2004 13:11:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Jan 2004 13:11:12 -0000 Received: (qmail 78487 invoked by uid 500); 7 Jan 2004 13:11:08 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 78443 invoked by uid 500); 7 Jan 2004 13:11:07 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 78430 invoked from network); 7 Jan 2004 13:11:07 -0000 Received: from unknown (HELO london.cellectivity.com) (212.18.242.163) by daedalus.apache.org with SMTP; 7 Jan 2004 13:11:07 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message Subject: RE: Memory utilization on ANT 1.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 7 Jan 2004 13:11:07 -0000 Message-ID: <747F247264ECE34CA60E323FEF0CCC0C0F5198@london.cellectivity.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Memory utilization on ANT 1.6.0 Thread-Index: AcPU/nBb1jrpOoQ+TnebO1LNdenO1AAH/IUw From: "Jose Alberto Fernandez" To: "Ant Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > From: Stefan Bodewig [mailto:bodewig@apache.org]=20 >=20 > Historically the tasks are doing so for a different reason. In Ant=20 > < 1.6 task instances could get reused. Say you have target A=20 > depending on B and somebody runs "ant A B", then B will get=20 > executed twice and reuse the instances created in the first=20 > execution on the second run. >=20 > AFAIU task instances are no longer supposed to get reused=20 > that way in 1.6 and thus the guarding code should be obsolute now. >=20 How does it work in 1.6? Does "ant A B" will still execute target "B" twice? I think we really need to define a clean-up hook-up for the tasks that by default just removes the task from the RuntimeConfigurable or UnknownElement holder instance.=20 Do not know all the consequences, but it seem like the right kind of thing to do. Jose Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org