ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Creating custom data container rather than task for use as nested element in a custom task
Date Thu, 08 Aug 2002 06:42:06 GMT
On Wed, 7 Aug 2002, <> wrote:

> I am still a bit confused as to when a class corresponding to a
> nested element should inherit from the
> class

There is no real reason to do so apart from

(1) getting support for detection of circular references (you may very
well not need that at all).

(2) implicitly inheriting from ProjectComponent which means your class
has access to the Project instance as well as to Ant's BuildEvents
(via log()).

I may be missing something, though.


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

View raw message