Update of /cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/web/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5734/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/web/resources
Modified Files: ibm-web-bnd_xmi.xdt Log Message: XDT-1205: "bindings-DD invalid if jndi-name not set for every ejb.resource-ref" FIXED Index: ibm-web-bnd_xmi.xdt =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/web/resources/ibm-web-bnd_xmi.xdt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** ibm-web-bnd_xmi.xdt 15 Nov 2004 00:19:33 -0000 1.3 --- ibm-web-bnd_xmi.xdt 30 Dec 2004 23:07:45 -0000 1.4 *************** *** 54,68 **** | resource refs | </XDtComment:comment> <XDtClass:forAllClasses> <XDtClass:forAllClassTags tagName="web:resource-ref"> - <XDtClass:ifHasClassTag tagName="web:resource-ref" paramName="jndi-name"> <resRefBindings xmi:<XDtId:prefixedId prefix="ResRefBnd"/> jndiName="<XDtClass:classTagValue tagName='web:resource-ref' paramName='jndi-name'/>"> <bindingResourceRef href="WEB-INF/web.xml#<XDtId:prefixedId prefix='ResRef' wrapInIdEquals='false'/>"/> </resRefBindings> - </XDtClass:ifHasClassTag> </XDtClass:forAllClassTags> </XDtClass:forAllClasses> --- 54,73 ---- | 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> <XDtClass:forAllClasses> <XDtClass:forAllClassTags tagName="web:resource-ref"> + <XDtClass:ifHasClassTag tagName="web:resource-ref" paramName="jndi-name"> <resRefBindings xmi:<XDtId:prefixedId prefix="ResRefBnd"/> jndiName="<XDtClass:classTagValue tagName='web:resource-ref' paramName='jndi-name'/>"> + </XDtClass:ifHasClassTag> + <XDtClass:ifDoesntHaveClassTag tagName="web:resource-ref" paramName="jndi-name"> + <resRefBindings xmi:<XDtId:prefixedId prefix="ResRefBnd"/>> + </XDtClass:ifDoesntHaveClassTag> <bindingResourceRef href="WEB-INF/web.xml#<XDtId:prefixedId prefix='ResRef' wrapInIdEquals='false'/>"/> </resRefBindings> </XDtClass:forAllClassTags> </XDtClass:forAllClasses> *************** *** 73,87 **** | resource environment refs | </XDtComment:comment> <XDtClass:forAllClasses> <XDtClass:forAllClassTags tagName="web:resource-env-ref"> <XDtClass:ifHasClassTag tagName="web:resource-env-ref" paramName="jndi-name"> ! ! <resourceEnvRefBindings xmi:<XDtId:prefixedId prefix="ResourceEnvRefBinding"/> jndiName="<XDtClass:classTagValue tagName='web:resource-env-ref' paramName='jndi-name'/>"> <bindingResourceEnvRef href="WEB-INF/web.xml#<XDtId:prefixedId prefix='ResEnvRef' wrapInIdEquals='false'/>"/> </resourceEnvRefBindings> - </XDtClass:ifHasClassTag> </XDtClass:forAllClassTags> </XDtClass:forAllClasses> --- 78,97 ---- | 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> <XDtClass:forAllClasses> <XDtClass:forAllClassTags tagName="web:resource-env-ref"> + <XDtClass:ifHasClassTag tagName="web:resource-env-ref" paramName="jndi-name"> ! <resourceEnvRefBindings xmi:<XDtId:prefixedId prefix="ResEnvRefBnd"/> jndiName="<XDtClass:classTagValue tagName='web:resource-env-ref' paramName='jndi-name'/>"> ! </XDtClass:ifHasClassTag> ! <XDtClass:ifDoesntHaveClassTag tagName="web:resource-env-ref" paramName="jndi-name"> ! <resourceEnvRefBindings xmi:<XDtId:prefixedId prefix="ResEnvRefBnd"/>> ! </XDtClass:ifDoesntHaveClassTag> <bindingResourceEnvRef href="WEB-INF/web.xml#<XDtId:prefixedId prefix='ResEnvRef' wrapInIdEquals='false'/>"/> </resourceEnvRefBindings> </XDtClass:forAllClassTags> </XDtClass:forAllClasses> ------------------------------------------------------- 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