ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <knut.wannhe...@paranor.ch>
Subject RE: Roles (was: antlib)
Date Wed, 07 May 2003 07:11:01 GMT
> 
> Let's not reinvent the wheel here.
> 
> The solution for names conflicts is namespaces - not rewriting. 
> 

I agree.  With the new ProjectHelper2 everything should be in place to start
using namespaces.

This would also allow antlibs to have a DTD or XML Schema which could be
used in XML editors or for validation.

Also namespaces lets the antlib user specify what prefix to use.  But it
doesn't allow two antlibs to use the same prefix in the context of the same
element, which I think is good.

If you really want you can use short names with namespaces as well.  Just
set the default namespace locally.

--
knut

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message