ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Manolache <cmanola...@yahoo.com>
Subject Re: Roles (was: antlib)
Date Wed, 07 May 2003 14:30:46 GMT
Stefan Bodewig wrote:

> On Tue, 06 May 2003, Costin Manolache <cmanolache@yahoo.com> wrote:
>> Jose Alberto Fernandez wrote:
>> 
>>> The important point is for the user (which is the one who has to
>>> deal with name clashes) to have control of the final naming scheme
>>> used in his/her buildfile.
>>
>> Let's not reinvent the wheel here.
>> 
>> The solution for names conflicts is namespaces - not rewriting.
> 
> +1 to both.  Make the use choose the namespace for the antlib he/she
> wants to use.

If you're reffering to the prefix - of course, that's how NS works.

The URI however should be chosen by the antlib author ( maybe based on some
rules specific to ant ), and should serve as an ID of the library.

My proposal is to use the (main) package name. There are other options - 
but I don't think every end user using it's own name for an antlib is a good
one. 

Costin


Mime
View raw message