Thanks!

I didn't know how to fix that.

Would you submit the patch to XDoclet JIRA?

TIA




                                                                                       
                                  
                      [EMAIL PROTECTED]                                                
                        
                      Sent by:                              To:       [EMAIL 
PROTECTED]                
                      [EMAIL PROTECTED]        cc:                                     
                     
                      ceforge.net                           Subject:  [Xdoclet-devel] 
"hibernate_subclass" task package  
                                                             problem                   
                                  
                                                                                       
                                  
                      09/07/03 05:27 PM                                                
                                  
                      Please respond to                                                
                                  
                      xdoclet-devel                                                    
                                  
                                                                                       
                                  
                                                                                       
                                  




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




**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.

This email, including all attachments, is confidential.  If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments.  Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error.  If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************






-------------------------------------------------------
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