Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19453/src/main/java/org/xdoclet/plugin/hibernate
Modified Files:
CollectionId.jelly HibernateMappingPlugin.jelly Id.jelly
Added Files:
Generator.jelly
Log Message:
Changed @hibernate-mapping to @maping, refactored @generator-param
Index: CollectionId.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/CollectionId.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CollectionId.jelly 31 May 2005 11:24:36 -0000 1.2
--- CollectionId.jelly 2 Jun 2005 14:09:17 -0000 1.3
***************
*** 13,23 ****
</j:forEach>
! <!-- process generator -->
! <generator class="${collectionIdTag.generatorClass}">
! <j:forEach var="generatorParamTag"
items="${property.entity.getTagsByName('hibernate.generator-param')}">
! <j:set var="paramTag" value="${generatorParamTag}"/>
! <j:import uri="/Param.jelly" inherit="true"/>
! </j:forEach>
! </generator>
</collection-id>
</j:if>
--- 13,18 ----
</j:forEach>
! <j:set var="generatorTag" value="${collectionIdTag}"/>
! <j:import uri="/Generator.jelly" inherit="true"/>
</collection-id>
</j:if>
--- NEW FILE: Generator.jelly ---
<?xml version="1.0" encoding="UTF-8"?>
<j:jelly xmlns:j="jelly:core">
<generator class="${generatorTag.generatorClass}">
<j:forEach var="paramTag"
items="${property.entity.getTagsByName('hibernate.generator-param')}">
<j:import uri="/Param.jelly" inherit="true"/>
</j:forEach>
</generator>
</j:jelly>
Index: HibernateMappingPlugin.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/HibernateMappingPlugin.jelly,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** HibernateMappingPlugin.jelly 31 May 2005 11:24:36 -0000 1.13
--- HibernateMappingPlugin.jelly 2 Jun 2005 14:09:17 -0000 1.14
***************
*** 8,12 ****
/>
<j:set var="class" value="${metadata}"/>
! <j:set var="hibernateMapping"
value="${class.getTagByName('hibernate.hibernate-mapping')}"/>
<hibernate-mapping
schema="${hibernateMapping.schema}"
--- 8,12 ----
/>
<j:set var="class" value="${metadata}"/>
! <j:set var="hibernateMapping"
value="${class.getTagByName('hibernate.mapping')}"/>
<hibernate-mapping
schema="${hibernateMapping.schema}"
Index: Id.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/Id.jelly,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Id.jelly 31 May 2005 11:24:36 -0000 1.4
--- Id.jelly 2 Jun 2005 14:09:17 -0000 1.5
***************
*** 18,27 ****
</j:forEach>
! <generator class="${idTag.generatorClass}">
! <j:forEach var="generatorParamTag"
items="${property.entity.getTagsByName('hibernate.generator-param')}">
! <j:set var="paramTag" value="${generatorParamTag}"/>
! <j:import uri="/Param.jelly" inherit="true"/>
! </j:forEach>
! </generator>
</id>
</j:jelly>
\ No newline at end of file
--- 18,23 ----
</j:forEach>
! <j:set var="generatorTag" value="${idTag}"/>
! <j:import uri="/Generator.jelly" inherit="true"/>
</id>
</j:jelly>
\ No newline at end of file
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits