ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Roles [WAS:Re: Restricted types: Re: Location in non-Task tasks]
Date Wed, 13 Sep 2006 14:50:55 GMT

-------- Original-Nachricht --------
Datum: Wed, 13 Sep 2006 12:14:07 +0100
Von: "Peter Reilly" <peter.kitt.reilly@gmail.com>
An: "Ant Developers List" <dev@ant.apache.org>
Betreff: Re: Roles [WAS:Re: Restricted types: Re: Location in non-Task tasks]

> I do not like the idea of a role.
> 
> A class declares which Interfaces it supports - Condition, Selector
> or whatever, the java compiler and java runtime enforces that.
> There is no need for us to invent new ways to do this!
> It is complicated - and prone to bugs both in the core ant code
> and when users define them (in xml).
>
Agreed that it is fine to use the interfaces that a class declares to find out which roles
this class can be used for.

Sorry I did not read all the svn commit emails. Which classes implement these role definitions
?
 
> Peter
> 
Antoine

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


Mime
View raw message