> A question about the 'extent' attribute on forAllClasses - I've got the > following in a template: > > <XDtClass:forAllClasses type="org.apache.myrmidon.api.AbstractTask" > extent="hierarchy"> > > And some classes extend from AbstractContainerTask, which extends from > AbstractTask. The classes where I've put the tag I'm interested in are > not > abstract. I added 'abstract="true"' and it picked up the two > AbstractContainerTask extending classes. I'm confused on the 'abstract' > attribute. I thought it meant to either include or exclude actual > abstract > classes, but it does not seem to be the case since the only classes it > picked up additionally were not abstract, just going through another layer > of abstract super class though.
"Extent" defines the extent of the hierarchy search, concrete->1 level, superclass->2 level, hierarchy->n level. Maybe I'm wrong but what's this abstract="true" you're talking about? There's no such a thing in TemplateSubTask. Anyway TemplateSubTask has room for improvements. abstract="true" could be one of these improvements. If you think something is missing then don't hesitate to file a feature request for it and we'll implement it (even better you implement and I'll commit it!). Ara. _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
