ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: antlib
Date Wed, 23 Apr 2003 07:04:21 GMT

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <dev@ant.apache.org>
Sent: Wednesday, April 23, 2003 8:49 AM


> On Mon, 21 Apr 2003, Antoine Levy-Lambert <levylambert@tiscali-dsl.de>
> wrote:
>
> > 1) antlib & antjar
> > ------------------------
> >
> > deployment descriptor called antlib.xml which would go in the
> > META-INF subdirectory of the antlib
>
> I prefer an XML descriptor over manifest entries as well, because it
> is easier to extend in the future.  Say centipede wants to add
> information in that descriptor that antlib doesn't need to care
> about.
>
> > looks like that
> > <antlib version="1.5" >
>
> Is that the version of the antlib parser, i.e. does version define the
> format of the file?  The minimal version of Ant the antlib needs?  Or
> is that the version of the antlib itself?  I think we'll have to
> provide all three items, while the first two may in fact be just one.
>
It is the version of the antlib parser I believe. We will need to add the
version of ant and the version of the antlib
What about antversion and libversion as attributes names here ?

> > 2) type definitions
> > --------------------------
> >
> > allowing to define new implementations of mappers, selectors, paths,
> > conditions,
>
> We definitely need this, roles may be the key here.  With that, do we
> really need separate <task> and <data-type> in <antlib> or are they
> just special cases of roles?
>
<task> and <data-type> are special cases of roles.

> > 3) A scoping framework for the symbol tables needed to manage the
> > antlib definitions
> >
> > Management of a hash symbol table containing names, classes, and
> > roles. Roles are currently task or datatype.  It is possible to
> > define new roles.
>
> Works for me.
>
> > 4) A framework for managing classloaders where you can specify which
> > classloader to use when loading an antlib.
>
> This is the hardest part IMHO.  Sorry, I haven't looked at the
> proposal thoroughly so far.  Is there such a classloading framework in
> place?  What does it provide and how do you use it?
>
There is something, I hope you and Stuart Halloway and other knowledgeable
people in the community will look at it and improve it if needed, because
the area of classloaders is new to me. I have not yet looked at the
classloader framework myself, I have just tried to get the proposal to
compile.

Antoine


Mime
View raw message