In <hibernate/>  task, when a class "A"  is subclass of other "B"  that has
a generated xml descriptor associated, and that class "A" is in DIFFERENT
package than the class "B", then the necessary entry in the xml descriptor
for the class "B" does NOT contain the reference to the class "A". (as
should)
I solved this situation like following:
-in HibernateTagsHandler class, in method "forAllSubclasses", i changed the
existing calling:
        " Collection classes = ClassTagsHandler.getAllClasses();"
for the following one:
        " Collection classes = getXJavaDoc().getSourceClasses();"

That's way xdoclet parses all the classes, not only the existing in the
actual package (in this case in the package of the class "B").

Please, if this is a bug, try to include this solution in the next XDoclet
realeases, and if is NOT a bug, please, comment me what should i do for be
able to parse all the packages in <hibernate/> subtask.
Thanks!         -Fernando Azpeitia-





-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to