From: "Peter Donald" <[EMAIL PROTECTED]>
> 
> In the architecture we have discussed for Ant2 it will be very difficult to 
> subclass tasks unless they are in the same tasklib. So if there is behaviour 
> that needs to be shared it should be refactored into another bean and 
> delegated to. In the rare cases that do need inheritance it is expected that 
> you don't mess things up ;)
> 

This sounds like a very large limitation to me. If you look at all the 
war/jar/ejb/etc
tasks they just subclass and add new attributes or elements or whatever.
This things should not be in the same tasklib because some are core while
others are optional (for example).

Inheritance is well known and valid pattern and I think we need to make an 
effort not
to loose it in the design.

> No idea if base classes TaskInfo will add to or be replaced by subclasses 
> TaskInfo.

Jose Alberto



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to