Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 82237 invoked by uid 500); 7 Aug 2003 14:54:19 -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 82196 invoked from network); 7 Aug 2003 14:54:18 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 7 Aug 2003 14:54:18 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19km9L-0005Zz-00 for ; Thu, 07 Aug 2003 16:53:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@ant.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19km9K-0005Zn-00 for ; Thu, 07 Aug 2003 16:53:54 +0200 From: Nicola Ken Barozzi Subject: Re: override Date: Thu, 07 Aug 2003 16:52:21 +0200 Lines: 68 Message-ID: References: <747F247264ECE34CA60E323FEF0CCC0C0F5125@london.cellectivity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en In-Reply-To: <747F247264ECE34CA60E323FEF0CCC0C0F5125@london.cellectivity.com> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jose Alberto Fernandez wrote, On 07/08/2003 16.15: > Some comments on the issues inside: > > >>From: Nicola Ken Barozzi [mailto:nicolaken@apache.org] ... >>Well, IMHO I personally don't see a real, strong, compelling >>reason to >>have targets have crosstalk between themselves, but I do have >>an equally >>strong need to import dependencies. > > The escenario is that you have your tipical: > > a > target compile depends=precompile > target precompile (do-nothing) > > b > target precopile (very complex precompile lib) > > build: > import (a,b) Yes, this is the "incriminated" use-case. > With cross-talk that is all you need to connect the two > and get the required effect. Without cross-talk you would need to add > more targets to build: > > target precompile depends=b.precompile > > or > > override-target compile depends=b.precompile, super.compile > > the question is how convinient is to have to thread all this interconnections > by hand on the importing buildfile. What about this: a @importable="only" target compile depends=precompile b target precopile (very complex precompile lib) build: import (a,b) It should work. And manual intervention would kick in only in the case of multiple clashing precompile targets. (hey, I said the same thing as in the reply to Costin but with a lot less words! Amusing...) -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org