Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 91420 invoked by uid 500); 11 Oct 2001 22:18:29 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 91374 invoked from network); 11 Oct 2001 22:18:29 -0000 Content-Type: text/plain; charset="utf-8" From: Peter Donald To: ant-dev@jakarta.apache.org Subject: Re: SUMMARY: loading tasks from jars for Ant 1.5 summary feedback Date: Fri, 12 Oct 2001 07:56:28 +1000 X-Mailer: KMail [version 1.3.1] References: In-Reply-To: X-Wisdom-Cookie: . MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011011221825.VNLW13193.mss.rdc2.nsw.optushome.com.au@there> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 12 Oct 2001 07:24, Tim Dawson wrote: > In summary of the previous thread the proposal is now: > > ------------ > 1. Deployment Descriptor > > Specify a deployment descriptor for an antlib jar. This would reside in > "meta-inf/antlib.xml" and have a simple structure: > > > > > > > > > NOTE: datatype shortened to "type" from previous proposal. -1 I would shorten it to data instead. AS in future we will have other types (Conditions, Mappers etc) > 3. JDK 1.1 Compatibility > > Update the classloader to support getResources() under 1.1. > > 4. Antlib Task > > Add a new task "tasklib" which can be used to load a jar file containing > ant tasks and datatypes. A file attribute can specify a jar file, or a > nested element can be used as well. I say we just extend taskdef to add a new atribute antlib="". Seems easier and more consistent. Especially as we probably won't need come ant2. > 5. Task Name Collisions > > The antlib task must also provide the capability to overrride the task > names defined in the deployment descriptor. If a tasklib is loaded and a > collision is detected without an alias, the build fails. > > e.g. > > > > I am not sure we should be doing aliasing right here, right now. I see aliasing as only really needed with import style functionality in ant2. -- Cheers, Pete --------------------------------------------------- "If you don't know where you want to go, we'll make sure you get taken." Microsoft ad slogan, translated into Japanese. ---------------------------------------------------