-------- Original-Nachricht -------- Datum: Wed, 13 Sep 2006 12:14:07 +0100 Von: "Peter Reilly" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]