You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by peter reilly <pe...@corvil.com> on 2003/08/01 14:29:44 UTC

[Patch] namespace and antlib

I have posted a patch for namespace support in

http://issues.apache.org/bugzilla/show_bug.cgi?id=19897

It should cover most of the issues raised 
http://marc.theaimsgroup.com/?t=105289875900005&r=1&w=2

Arbitrary namespace uris are allowed, uris beginning with "ant" are
reserved.

ant:core is ant's namespace and the default namespace for
definitions.

antlib:<package name> is treated specially, when ant encounters a
component (task, or type) that has a namespace uri of this form,
ant will check if there is a resource of the name packege -> path/antlib.xml
and if so it will load it up.

Peter.

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


Re: [Patch] namespace and antlib

Posted by Stefan Bodewig <bo...@apache.org>.
On 12 Aug 2003, Stefan Bodewig <bo...@apache.org> wrote:

...

you've already answered my questions in your response to DD, sorry.

Stefan

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


Re: [Patch] namespace and antlib

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 1 Aug 2003, peter reilly <pe...@corvil.com> wrote:

> ant:core is ant's namespace and the default namespace for
> definitions.

does that include the optional tasks?

If you reserve the ant* URI space, does that mean it will be
impossible to add third party tasks to the default namespace or does
"and the default namespace for definitions" mean that all <antlib>s
without an URI will end up in the default namespace?

> antlib:<package name> is treated specially, when ant encounters a
> component (task, or type) that has a namespace uri of this form, ant
> will check if there is a resource of the name packege ->
> path/antlib.xml and if so it will load it up.

searching in the core classloader?  Or do you envision a special (and
separate) plugin store from which to load antlibs on demand?

Stefan

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