[
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1359?page=all ]
Sergio Moretto updated XDT-1359:
--------------------------------
Attachment: patch-XDT-1359.diff
Patch format
> Incorrect creation of ejb-ref for Local EJB Reference on sun application
> server configuration file
> --------------------------------------------------------------------------------------------------
>
> Key: XDT-1359
> URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1359
> Project: XDoclet
> Type: Bug
> Components: SunONE Module
> Versions: 1.2.3
> Environment: Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2_07-b05)
> Sun Java System Application Server Platform Edition 8.1
> Linux Gentoo 2.6.11
> Reporter: Sergio Moretto
> Assignee: xdoclet-devel (Use for new issues)
> Priority: Blocker
> Attachments: patch-XDT-1359.diff
>
> Original Estimate: 1 hour
> Remaining: 1 hour
>
> When a EJB Local Reference is create inside an EJB, xdoclet module for sunone
> generete and incorrect generate a "ejb-ref" (remote) inside sun-ejb-jar.xml.
> Inside a "ABean.java":
> @ejb.ejb-ref ejb-name="B" view-type="local"
> Solved appling the following patch:
> (conditional add of ejb-ref only if not local):
> modules/sun/src/xdoclet/modules/sun/sunone/ejb/resources/sun-ejb-jar_xml.xdt
> ...
> <XDtEjbRef:forAllEjbRefs>
> <XDtEjbRef:ifNotLocalEjb>
> <ejb-ref>
> <ejb-ref-name><XDtEjbRef:ejbRefName/></ejb-ref-name>
> <jndi-name><XDtEjbRef:ejbRefJndiName/></jndi-name>
> </ejb-ref>
> </XDtEjbRef:ifNotLocalEjb>
> </XDtEjbRef:forAllEjbRefs>
> ...
> 43a44
> > <XDtEjbRef:ifNotLocalEjb>
> 47a49
> > </XDtEjbRef:ifNotLocalEjb>
--
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
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel