Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/descriptor
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1564/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/descriptor
Modified Files:
asm-descriptor.jelly beans.jelly
Log Message:
- Finished ejb-jar.xml generation (for now) - time to move on
- Update qtags docs inserting <br> to generate a cleaner doc base
- Updated test-cases
Index: asm-descriptor.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/descriptor/asm-descriptor.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** asm-descriptor.jelly 6 Sep 2005 01:49:59 -0000 1.3
--- asm-descriptor.jelly 7 Sep 2005 01:13:08 -0000 1.4
***************
*** 78,86 ****
</j:choose>
! <x:comment>TODO: HERERRERERER asm-descriptor.jelly</x:comment>
</assembly-descriptor>
</j:otherwise>
</j:choose>
-
- <x:comment>TODO: asm-descriptor.jelly</x:comment>
</j:jelly>
\ No newline at end of file
--- 78,148 ----
</j:choose>
! <j:forEach var="bean" items="${util.getBeans(metadata)}">
! <j:forEach var="containerTransaction"
items="${util.getContainerTransaction(bean)}">
! <container-transaction
id="${plugin.prefixedId('MethodTransaction')}">
! <description>Description not supported
yet</description>
! <method
id="${plugin.prefixedId('MethodElement')}">
! <description>Description not supported
yet</description>
! <ejb-name>${util.getEjbName(bean)}</ejb-name>
!
<method-intf>${containerTransaction.ifaceType}</method-intf>
! <j:choose>
! <j:when
test="${containerTransaction.method != null}">
!
<method-name>${containerTransaction.method.name}</method-name>
! <j:if
test="${!empty(containerTransaction.method.parameters)}">
! <method-params>
! <j:forEach var="param"
items="${containerTransaction.method.parameters}">
!
<method-param>${param.type}</method-param>
! </j:forEach>
! </method-params>
! </j:if>
! </j:when>
! <j:otherwise>
! <method-name>*</method-name>
! </j:otherwise>
! </j:choose>
! </method>
!
<trans-attribute>${containerTransaction.transType}</trans-attribute>
! </container-transaction>
! </j:forEach>
! </j:forEach>
!
! <j:choose>
! <j:when
test="${plugin.getMergeFile('ejb-message-destinations.xml', class).exists()}">
! <j:import
file="${plugin.getMergeFile('ejb-message-destinations.xml', class).path}"
inherit="true"/>
! </j:when>
! <j:otherwise>
! <x:comment trim="false">To specify additional
message-destination elements, add a file in the merge directory called
ejb-message-destinations.xml that contains them.</x:comment>
! </j:otherwise>
! </j:choose>
!
! <j:if test="${version.greaterOrEquals(2.1)}">
! <j:forEach var="bean"
items="${util.getMessageDrivenBeans(metadata)}">
! <j:set var="ejbMessageDestinationTag"
value="${bean.getTagByName('ejb.message-destination')}"/>
! <j:if test="${ejbMessageDestinationTag != null}">
! <message-destination>
! <j:if
test="${!empty(ejbMessageDestinationTag.description)}">
!
<description>${ejbMessageDestinationTag.description}</description>
! </j:if>
! <j:if
test="${!empty(ejbMessageDestinationTag.displayName)}">
!
<display-name>${ejbMessageDestinationTag.displayName}</display-name>
! </j:if>
!
<message-destination-name>${ejbMessageDestinationTag.name_}</message-destination-name>
! </message-destination>
! </j:if>
! </j:forEach>
! </j:if>
!
! <j:if test="${version.greaterOrEquals(2.0)}">
! <j:choose>
! <j:when
test="${plugin.getMergeFile('ejb-exclude-list.xml', class).exists()}">
! <j:import
file="${plugin.getMergeFile('ejb-exclude-list.xml', class).path}"
inherit="true"/>
! </j:when>
! <j:otherwise>
! <x:comment trim="false">To specify an
exclude-list element, add a file in the merge directory called
ejb-exclude-list.xml that contains it.</x:comment>
! </j:otherwise>
! </j:choose>
! </j:if>
</assembly-descriptor>
</j:otherwise>
</j:choose>
</j:jelly>
\ No newline at end of file
Index: beans.jelly
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/descriptor/beans.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** beans.jelly 26 Aug 2005 17:52:30 -0000 1.1
--- beans.jelly 7 Sep 2005 01:13:08 -0000 1.2
***************
*** 8,21 ****
<x:attribute
name="id">${plugin.idFor(class)}</x:attribute>
</j:if>
! <description>${util.description(class)}</description>
<j:if test="${!empty(ejbBeanTag.displayName)}">
! <display-name>${ejbBeanTag.displayName}</display-name>
! </j:if>
<j:if test="${!empty(ejbBeanTag.smallIcon)}">
! <small-icon>${ejbBeanTag.smallIcon}</small-icon>
! </j:if>
<j:if test="${!empty(ejbBeanTag.largeIcon)}">
! <large-icon>${ejbBeanTag.largeIcon}</large-icon>
! </j:if>
<ejb-name>${util.getEjbName(class)}</ejb-name>
<j:if
test="${plugin.remoteHomeInterfacePlugin.shouldGenerate(class)}">
--- 8,21 ----
<x:attribute
name="id">${plugin.idFor(class)}</x:attribute>
</j:if>
! <description>${util.description(class)}</description>
<j:if test="${!empty(ejbBeanTag.displayName)}">
! <display-name>${ejbBeanTag.displayName}</display-name>
! </j:if>
<j:if test="${!empty(ejbBeanTag.smallIcon)}">
! <small-icon>${ejbBeanTag.smallIcon}</small-icon>
! </j:if>
<j:if test="${!empty(ejbBeanTag.largeIcon)}">
! <large-icon>${ejbBeanTag.largeIcon}</large-icon>
! </j:if>
<ejb-name>${util.getEjbName(class)}</ejb-name>
<j:if
test="${plugin.remoteHomeInterfacePlugin.shouldGenerate(class)}">
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits