The following comment has been added to this issue: Author: Matthias Germann Created: Fri, 24 Dec 2004 9:29 AM Body: What's the problem with the original code? --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-599?page=comments#action_15487
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-599 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-599 Summary: ejb-ref.xdt does not set ejb references properly. Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: EJB Module Versions: 1.2 Beta 3 Assignee: xdoclet-devel (Use for new issues) Reporter: Ivo Mägi Created: Mon, 11 Aug 2003 2:06 AM Updated: Fri, 24 Dec 2004 9:29 AM Environment: Ant 1.5.2, MS Win 2000 SP4 Description: EJB local references set by xdoclet do not set the ejb-link properly. Following is the fixed snippet to replace at the end of your ejb-ref.xdt file. <XDtEjbRef:forAllEjbRefs> <XDtClass:ifClassTagValueEquals tagName="ejb:ejb-ref" paramName="view-type" value="local"> <ejb-local-ref <XDtId:prefixedId prefix="EJBLocalRef"/>> <ejb-ref-name><XDtEjb:ejbRefName/></ejb-ref-name> <ejb-ref-type><XDtEjb:beanType/></ejb-ref-type> <local-home><XDtEjbHome:homeInterface type="local"/></local-home> <local><XDtEjbIntf:componentInterface type="local"/></local> <XDtClass:ifHasClassTag tagName="ejb:ejb-ref" paramName="link"> <ejb-link><XDtClass:classTagValue tagName="ejb:ejb-ref" paramName="link"/></ejb-link> </XDtClass:ifHasClassTag> <XDtClass:ifDoesntHaveClassTag tagName="ejb:ejb-ref" paramName="link"> <ejb-link><XDtClass:classTagValue tagName="ejb:ejb-ref" paramName="ejb-name"/></ejb-link> </XDtClass:ifDoesntHaveClassTag> </ejb-local-ref> </XDtClass:ifClassTagValueEquals> </XDtEjbRef:forAllEjbRefs> --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel