> From: Arun Gupta [mailto:[EMAIL PROTECTED]
> Also, searching in the list archives, I've seen it's
> not recommended [1] to use MatchingTask as the parent
> class. What is the motivation behind that
> recommendation ? Is it going to be deprecated in a
> subsequent release ?

It should be, but too much existing code, some of
it outside Ant uses MatchingTask, can we can't really
deprecate it.

Using an implicit fileset is just not as intuitive as
using an explicit one, and I recommend you simply derive
from Task, and have a add<MyNestedElementName>(FileSet ds)
method. Your impl can then accept just one filesets, or
many, in which case you store then in a List (usually).

--DD

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

Reply via email to