Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 83310 invoked by uid 500); 12 Aug 2003 12:08:33 -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 83214 invoked from network); 12 Aug 2003 12:08:31 -0000 Received: from gate.corvil.net (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 12 Aug 2003 12:08:31 -0000 Received: from preilly.local.corvil.com (preilly.local.corvil.com [172.18.1.173]) by corvil.com (8.12.9/8.12.5) with ESMTP id h7CC8U13046859 for ; Tue, 12 Aug 2003 13:08:31 +0100 (IST) (envelope-from peter.reilly@corvil.com) From: peter reilly Organization: corvil To: Ant Developers List Subject: Re: [Patch] namespace and antlib Date: Tue, 12 Aug 2003 13:15:24 +0100 User-Agent: KMail/1.5 References: <200308011709.31477.peter.reilly@corvil.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308121315.24154.peter.reilly@corvil.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tuesday 12 August 2003 12:36, Stefan Bodewig wrote: > On Fri, 1 Aug 2003, peter reilly wrote: > > > uri="antlib:net.sf.antcontrib" > > classpath="/tmp/ant-contrib.jar"/> > > wouldn't the resource attribute be redundant in that case? Not in this case. The automatic lookup of uri="antlib:net.sf.antcontrib" to net/sf/antcontrib/antlib.xml resource currently is done once when the ns prefix is encountered the first time - it does not take place at the task. > > > 3) reserved uri's > > +1 on reserving the ant* protocol. I have changed this to ant:*, as I found when testing that the current code reserves antcontrib: and antelope: .... > > > 5) antlibs in the classpath > > I'm leaning towards a repository of antlibs, say ANT_HOME/antlibs with > classloader isolation between different antlibs and discovery on > demand here. I.e. don't force the antlib to live on Ant's core > classloader - and avoid scanning of the repository unless an antlib:* > URI has been used. This makes sense, but would involve some messing with classloaders and scanning of the jar files in ANT_HOME/antlibs. Each time I look at classloaders, my head melts down.... > > > 6) adding new definitions to a uri > > What about overriding a definition? Print a warning and succeed like > would do now? Yes, there is no difference. > > +1 on the proposal in general. Excellent. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org