Update of 
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27135/modules/hibernate/src/xdoclet/modules/hibernate

Modified Files:
        HibernateSubTask.java 
Log Message:
XDT-1061: patch from Peilin Zhang to allow hibernate mapping files to be 
generated when only a @hibernate.query tag is present in a java source file

Index: HibernateSubTask.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/HibernateSubTask.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** HibernateSubTask.java       3 Apr 2005 10:22:34 -0000       1.12
--- HibernateSubTask.java       18 Apr 2005 22:09:17 -0000      1.13
***************
*** 74,78 ****
      public HibernateSubTask()
      {
!         setHavingClassTag("hibernate.class");
          
setTemplateURL(getClass().getResource(DEFAULT_HIBERNATE_TEMPLATE_FILE));
          setDestinationFile(GENERATED_HIBERNATE_FILE_NAME);
--- 74,78 ----
      public HibernateSubTask()
      {
!         setHavingClassTags(new String[]{"hibernate.class", 
"hibernate.query"});
          
setTemplateURL(getClass().getResource(DEFAULT_HIBERNATE_TEMPLATE_FILE));
          setDestinationFile(GENERATED_HIBERNATE_FILE_NAME);



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to