Dave Brosius wrote:
> sorry, i realized i posted this under a copied message subject, which
> made no sense.....
> so here goes again.
> 
> Howdy, I have my own task that requires two FileSet sub-elements. In order
> to differentiate them from a naming point of view, i have created my own
> tasks that are empty subclasses of FileSet, merely for the reason of
> naming.
> It works fine, but was just wondering if this was the expected way to
> accomplish this?
> 

Not in general. The element name comes from the method used to add the
instance, and not its type.

So, use addFoo(FileSet f) and addBar(FileSet b)

Conor

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

Reply via email to