[ 
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1677?page=comments#action_17753
 ] 

Andrew Stevens commented on XDT-1677:
-------------------------------------

Actually, it looks like it is possible to set the jndiName, the 
ibm-ejb-jar-bnd-ejb-body-_xmi.xdt template has
<resRefBindings xmi:<XDtId:prefixedId prefix="ResRefBnd"/> 
jndiName="<XDtEjbEnv:paramValue paramName='jndi-name'/>">

I believe XDtEjbEnv:paramValue operates on the "current" tag, which in this 
case should be the current one from the <XDtEjbEnv:forAllTags 
tagName="ejb:resource-ref"> loop, so I guess you also need to have
@ejb.resource-ref res-ref-name="jms/myQueue" jndi-name="whatever"
in addition to your @websphere.resource-ref tag.


> websphere.resource-ref  lacks a jndi-name attribute.  
> ------------------------------------------------------
>
>          Key: XDT-1677
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1677
>      Project: XDoclet
>         Type: Bug

>   Components: IBM Module
>     Versions: 1.2.3
>  Environment: Windows XP
>     Reporter: Russ Ray
>     Assignee: xdoclet-devel (Use for new issues)

>
>
> Using the Websphere subtask one can create a websphere resource reference.  
> This information is used for creating the ibm-ejb-jar-bnd.xmi file.  This 
> works correctly  as the documentation states.
>    @websphere.resource-ref  res-ref-name="jms/myQueue.  wil  generate the 
> following within the ibm binding file
>    <resRefBindings xmi:id="ResRefBnd_1" jndiName="">            
>                 <bindingResourceRef href="META-INF/ejb-jar.xml#ResRef_1"/>
>    </resRefBindings>
>    What is missing from the XDoclet command is the abiilty to add the 
> jndi-name capability other than doing so manually.
>    
>    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to