Update of /cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5734/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/resources
Modified Files: ibm-ejb-jar-bnd-ejb-body_xmi.xdt Log Message: XDT-1205: "bindings-DD invalid if jndi-name not set for every ejb.resource-ref" FIXED Index: ibm-ejb-jar-bnd-ejb-body_xmi.xdt =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/resources/ibm-ejb-jar-bnd-ejb-body_xmi.xdt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** ibm-ejb-jar-bnd-ejb-body_xmi.xdt 27 Dec 2004 07:12:57 -0000 1.3 --- ibm-ejb-jar-bnd-ejb-body_xmi.xdt 30 Dec 2004 23:07:45 -0000 1.4 *************** *** 43,46 **** --- 43,48 ---- | resource refs | + | generates a resource ref even if its jndi-name is missing otherwise will the generation of ResRef-id's get out of synch + | </XDtComment:comment> *************** *** 49,55 **** <XDtClass:ifHasClassTag tagName="ejb:resource-ref" paramName="jndi-name"> <resRefBindings xmi:<XDtId:prefixedId prefix="ResRefBnd"/> jndiName="<XDtClass:classTagValue tagName='ejb:resource-ref' paramName='jndi-name'/>"> <bindingResourceRef href="META-INF/ejb-jar.xml#<XDtId:prefixedId prefix='ResRef' wrapInIdEquals='false'/>"/> </resRefBindings> - </XDtClass:ifHasClassTag> </XDtClass:forAllClassTags> --- 51,60 ---- <XDtClass:ifHasClassTag tagName="ejb:resource-ref" paramName="jndi-name"> <resRefBindings xmi:<XDtId:prefixedId prefix="ResRefBnd"/> jndiName="<XDtClass:classTagValue tagName='ejb:resource-ref' paramName='jndi-name'/>"> + </XDtClass:ifHasClassTag> + <XDtClass:ifDoesntHaveClassTag tagName="ejb:resource-ref" paramName="jndi-name"> + <resRefBindings xmi:<XDtId:prefixedId prefix="ResRefBnd"/>> + </XDtClass:ifDoesntHaveClassTag> <bindingResourceRef href="META-INF/ejb-jar.xml#<XDtId:prefixedId prefix='ResRef' wrapInIdEquals='false'/>"/> </resRefBindings> </XDtClass:forAllClassTags> *************** *** 60,63 **** --- 65,70 ---- | resource environment refs | + | generates a resource env ref even if its jndi-name is missing otherwise will the generation of ResEnvRef-id's get out of synch + | </XDtComment:comment> *************** *** 65,72 **** <XDtClass:ifHasClassTag tagName="ejb:resource-env-ref" paramName="jndi-name"> ! <resourceEnvRefBindings xmi:<XDtId:prefixedId prefix="ResourceEnvRefBnd"/> jndiName="<XDtClass:classTagValue tagName='ejb:resource-env-ref' paramName='jndi-name'/>"> <bindingResourceEnvRef href="META-INF/ejb-jar.xml#<XDtId:prefixedId prefix='ResEnvRef' wrapInIdEquals='false'/>"/> </resourceEnvRefBindings> - </XDtClass:ifHasClassTag> </XDtClass:forAllClassTags> --- 72,82 ---- <XDtClass:ifHasClassTag tagName="ejb:resource-env-ref" paramName="jndi-name"> ! <resourceEnvRefBindings xmi:<XDtId:prefixedId prefix="ResEnvRefBnd"/> jndiName="<XDtClass:classTagValue tagName='ejb:resource-env-ref' paramName='jndi-name'/>"> ! </XDtClass:ifHasClassTag> ! <XDtClass:ifDoesntHaveClassTag tagName="ejb:resource-env-ref" paramName="jndi-name"> ! <resourceEnvRefBindings xmi:<XDtId:prefixedId prefix="ResEnvRefBnd"/>> ! </XDtClass:ifDoesntHaveClassTag> <bindingResourceEnvRef href="META-INF/ejb-jar.xml#<XDtId:prefixedId prefix='ResEnvRef' wrapInIdEquals='false'/>"/> </resourceEnvRefBindings> </XDtClass:forAllClassTags> ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel