ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Antlib autoloading (was Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntlibTest.java)
Date Fri, 09 Sep 2005 20:16:15 GMT

--- Stefan Bodewig <bodewig@apache.org> wrote:

> On Fri, 26 Aug 2005, Jose Alberto Fernandez
> <jalberto@cellectivity.com> wrote:
> 
> > Now, for backward compatibility and for
> convinience in general, one
> > would like to be able to put in the -lib
> directories a bunch of
> > antlib jars and that all their tasks get declared
> automatically as
> > part of the default name space.
> 
> Steve's approach would allow you to load them into
> different
> namespaces.  I don't see that much benefit over
> <typedef
> resource="..."/> in his case, though.
> 
> > So, any ideas how this could be acomplished?
> 
> Load all resources from META-INF/antlib.xml at
> startup and process
> them, I'd say.

Sounds cool, but what do you do about e.g. collisions
among tasknames from 3rd-party distributions?  What is
the user's recourse, turn off the warning and manually
typedef (both)?

-Matt

> 
> Stefan
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message