From: Vance K. <va...@us...> - 2006-06-14 08:08:48
|
User: vancek Date: 06/06/14 01:08:47 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml cartridge.xml andromda-ejb3/src/main/resources/templates/ejb3/config persistence.xml.vsl andromda-ejb3/src/changes changes.xml Log: added support for extra ejb-jar inclusions in persistence.xml - JIRA EJB-28 Revision Changes Path 1.24 +6 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -w -r1.23 -r1.24 --- namespace.xml 14 Jun 2006 04:55:21 -0000 1.23 +++ namespace.xml 14 Jun 2006 08:08:47 -0000 1.24 @@ -205,6 +205,12 @@ or serializable types to/from JDBC. </documentation> </property> + <property name="jarFiles" required="false"> + <documentation> + The comma separated ejb jars that are included + in the deployed ear package. + </documentation> + </property> </propertyGroup> <propertyGroup name="Cache"> <property name="hibernateCacheProvider" required="false"> 1.26 +1 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/cartridge.xml Index: cartridge.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/cartridge.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -w -r1.25 -r1.26 --- cartridge.xml 14 Jun 2006 04:52:37 -0000 1.25 +++ cartridge.xml 14 Jun 2006 08:08:47 -0000 1.26 @@ -49,6 +49,7 @@ <property reference="daoInheritanceEnabled"/> <property reference="enableDaoPropertiesCreateMethod"/> <property reference="seamEnabled"/> + <property reference="jarFiles"/> <!-- cartridge-property merge-point --> 1.3 +8 -0 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/persistence.xml.vsl Index: persistence.xml.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/persistence.xml.vsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- persistence.xml.vsl 11 Apr 2006 15:50:03 -0000 1.2 +++ persistence.xml.vsl 14 Jun 2006 08:08:47 -0000 1.3 @@ -17,6 +17,14 @@ #if ($stringUtils.isNotBlank($entityManagerJTADataSource)) <jta-data-source>${entityManagerJTADataSource}</jta-data-source> #end +#if ($stringUtils.isNotBlank($jarFiles)) +#**##set ($jars = $stringUtils.split($jarFiles,',')) +#**##foreach ($jar in $jars) +#* *##if ($stringUtils.isNotBlank($jar)) + <jar-file>${jar}</jar-file> +#* *##end +#**##end +#end <properties> #if ($stringUtils.isNotBlank($hibernateHbm2DDLAuto)) <property name="hibernate.hbm2ddl.auto" value="${hibernateHbm2DDLAuto}"/> 1.5 +7 -4 cartridges/andromda-ejb3/src/changes/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/changes/changes.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- changes.xml 14 Jun 2006 05:07:25 -0000 1.4 +++ changes.xml 14 Jun 2006 08:08:47 -0000 1.5 @@ -44,7 +44,7 @@ <action dev="vancek" type="add"> Added installation howto. </action> - <action dev="tlu" type="add"> + <action dev="vancek" due-to="tlu" type="add"> Added equals, hashCode and toString methods to entities. </action> <action dev="vancek" type="update"> @@ -69,7 +69,7 @@ driven beans i.e. to allow singleton message driven beans. These are added as activation config properties to the ejb-jar.xml. Added documentation. </action> - <action dev="vance" type="update"> + <action dev="vancek" type="update"> Updated the EJB3MetafacadeModel.xml to use the maven2.repository environment variable rather than hard coded paths for profiles. </action> @@ -86,14 +86,17 @@ Introduce JBoss Seam components corresponding with Seam 1.0.0-CR3. Always generate a local interface for a session bean if it is a Seam component. </action> - <action dev="vancek" type="fix"> + <action dev="vancek" due-to="tlu" type="fix"> If a session bean operation is modelled for the local view type interface, a local interface is NOT generated. When returning a view type from the EJB3SessionFacade, must lookup all business operations to determine their view type individually and return a view type for the session bean to accomodate local, - remote and both. + remote and both. JIRA EJB-27 Refactor service delegate templates and introduce a parent base class which all service delegates extend. Fix problem with exposing only remote operations as webservice endpoints. </action> + <action dev="vancek" due-to="tlu" type="add"> + Added support for adding ejb-jar elements to the persistence.xml. JIRA EJB-28. + </action> </release> </body> </document> \ No newline at end of file |