ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: ResourceCollections
Date Mon, 11 Apr 2005 14:22:38 GMT
> From: Stefan Bodewig []
> On Thu, 07 Apr 2005, Peter Reilly <> wrote:
> > We should be able to make all the current conditions, selectors and
> > filters be typedefs.
> +1

As I wrote on the same thread, I'm starting to think that adding roles*
as typedefs in the 'global' Ant namespace may not be desirable.

Yes, it solves the problem I was describing of having to manually
typedef them, but it does not solve the name-collisions, and it
introduces a bunch of names in the 'global' Ant namespace. That itself
is a problem IMHO, but also these roles are not real types, but some
implementation of an interface to use in the contact of another
task/type making use of that interface.

Granted, it's not a big deal, and it may be too late to change that, but
if we had roledefs, we could only consult these name/classname mappings
in the
context of add(Type) methods, and ignore them when mapping name to
classname at the top-level, or inside targets/TaskContainers.

Don't worry, I'll stop rambling on this topic ;-) --DD

* for lack of a specific term for these types implementing
  a particular interface, I'm calling them role.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message