Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 89879 invoked from network); 4 Oct 2007 15:52:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 15:52:04 -0000 Received: (qmail 41227 invoked by uid 500); 4 Oct 2007 15:51:53 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 41133 invoked by uid 500); 4 Oct 2007 15:51:53 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 41124 invoked by uid 99); 4 Oct 2007 15:51:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 08:51:53 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gerard.fernandes@lehman.com designates 192.147.56.151 as permitted sender) Received: from [192.147.56.151] (HELO extrelay6.lehman.com) (192.147.56.151) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 15:51:52 +0000 Received: from nysmtplxmgmac08.lehman.com (nysmtplxmgmac08.lehman.com [10.12.86.117]) by extrelay6.lehman.com (Postfix) with SMTP id 84D36253A36 for ; Thu, 4 Oct 2007 11:48:51 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by nysmtplxmgmac08.lehman.com (8.12.11/8.12.11) with SMTP id l94Fmi65003325 for ; Thu, 4 Oct 2007 11:48:51 -0400 Received: from lopets1excb002.leh.lbcorp.lehman.com (lopets1excb002.leh.lbcorp.lehman.com [10.69.23.43]) by lonmailhost1.lehman.com (Postfix) with ESMTP id 9E57A32F46 for ; Thu, 4 Oct 2007 16:48:50 +0100 (BST) Received: from lopets1exms002.leh.lbcorp.lehman.com ([10.69.23.22]) by lopets1excb002.leh.lbcorp.lehman.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 4 Oct 2007 16:48:50 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Cache Path and Ant console logging Date: Thu, 4 Oct 2007 16:48:50 +0100 Message-ID: In-Reply-To: <4704F74F.6060307@apache.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cache Path and Ant console logging Thread-Index: AcgGkk0CJ0rXqDGeRgaEpC3vMgiZmAACOclg References: <4704F74F.6060307@apache.org> From: "Fernandes, Gerard" To: X-OriginalArrivalTime: 04 Oct 2007 15:48:50.0647 (UTC) FILETIME=[0F025670:01C8069E] X-messagegate_id: D3913A2B9C5 X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the post Steve. I can see how this would be good, although I personally would prefer to break out a common build system that supplied (via Ivy) a global repository with artefacts and then use Ivy again to manage dependencies in modules that needed them. That way, the build system need only be concerned with building it's own artefact(s). A packaging system could then manage, again via Ivy, the packaging of a deployable unit along with all it's dependencies. But of course, that's a different issue. :) Could you point me to such global datatypes in Ant that can be inherited? Thanks again. Gerard. -----Original Message----- From: Steve Loughran =5Bmailto:stevel=40apache.org=5D=20 Sent: 04 October 2007 15:23 To: ivy-user=40incubator.apache.org Subject: Re: Cache Path and Ant console logging Fernandes, Gerard wrote: >=20 > Ok, I've tried to debug this a bit and it seems the problem is not Ivy > - it's the way Ant handles global declarations when calling out to=20 > external build scripts. This causes the global cache-path tasks to be=20 > re-invoked each time a call to an externally defined target happens,=20 > therefore triggering repeated resolutions. >=20 > This is not an Ivy issue. It is an Ant build script structure issue. yes, if you use or then things get triggered repeatedly. This can be a good thing if you want sub projects to have different dependencies. To pass state down , get the data into ant datatypes that can be inherited. --=20 Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - = - - - - - - - This message is intended only for the personal and confidential use of the = designated recipient(s) named above. If you are not the intended = recipient of this message you are hereby notified that any review, = dissemination, distribution or copying of this message is strictly = prohibited. This communication is for information purposes only and = should not be regarded as an offer to sell or as a solicitation of an = offer to buy any financial product, an official confirmation of any = transaction, or as an official statement of Lehman Brothers. Email = transmission cannot be guaranteed to be secure or error-free. Therefore, = we do not represent that this information is complete or accurate and it = should not be relied upon as such. All information is subject to change = without notice.