Message: The following issue has been re-assigned.
Assignee: Matthias Germann (mailto:[EMAIL PROTECTED]) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-843 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-843 Summary: Wrong COMPNAME generation in the EJB module Type: Bug Status: Open Priority: Major Original Estimate: 20 minutes Time Spent: Unknown Remaining: 20 minutes Project: XDoclet Components: EJB Module Versions: 1.2 Assignee: Matthias Germann Reporter: Konstantin Kasatkin Created: Fri, 19 Mar 2004 6:35 AM Updated: Tue, 29 Mar 2005 4:51 PM Environment: Windows 2000, JDK 1.3.1-08, ANT 1.5 Description: Why whenever a local and remote Home interfaces are generated, XDoclet Engine changes all "." to "/" (method getCompNameFor() in the class xdoclet.modules.ejb.home.HomeTagsHandler). After these changes we have a problem with ejb reference name in the ejb-jar file. For examle: I use 2 EJB classes described as * @ejb:bean name="com.mycomp.ed.ejb.Flow" * jndi-name="com.mycomp.ed.ejb.Flow" * local-jndi-name="com.mycomp.ed.ejb.FlowLocal" * type="Stateless" transaction-type="Container" view-type="both" and * @ejb:bean name="com.mycomp.ed.ejb.Application" * jndi-name="com.mycomp.ed.ejb.Application" * local-jndi-name="com.mycomp.ed.ejb.ApplicationLocal" * type="Stateless" transaction-type="Container" view-type="both" For determining reference between com.mycomp.ed.ejb.Flow and com.mycomp.ed.ejb.Application in the description com.mycomp.ed.ejb.Flow we have the instruction * @ejb.ejb-ref ejb-name="com.mycomp.ed.ejb.Application" After building we expect to see <session > <ejb-name>com.mycomp.ed.ejb.Flow</ejb-name> <home>com.mycomp.ed.ejb.FlowHome</home> <remote>com.mycomp.ed.ejb.Flow</remote> <local-home>com.mycomp.ed.ejb.FlowLocalHome</local-home> <local>com.mycomp.ed.ejb.FlowLocal</local> <ejb-class>com.mycomp.ed.ejb.FlowEJB</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> <ejb-ref > <ejb-ref-name>ejb/com.mycomp.ed.ejb.Application</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>com.mycomp.ed.ejb.ApplicationHome</home> <remote>com.mycomp.ed.ejb.Application</remote> <ejb-link>com.mycomp.ed.ejb.Application</ejb-link> </ejb-ref> </session> but we see <session > <ejb-name>com.mycomp.ed.ejb.Flow</ejb-name> <home>com.mycomp.ed.ejb.FlowHome</home> <remote>com.mycomp.ed.ejb.Flow</remote> <local-home>com.mycomp.ed.ejb.FlowLocalHome</local-home> <local>com.mycomp.ed.ejb.FlowLocal</local> <ejb-class>com.mycomp.ed.ejb.FlowEJB</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> <ejb-ref > <ejb-ref-name>ejb/com/mycomp/ed/ejb/Application</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>com.mycomp.ed.ejb.ApplicationHome</home> <remote>com.mycomp.ed.ejb.Application</remote> <ejb-link>com.mycomp.ed.ejb.Application</ejb-link> </ejb-ref> </session> i.e. we see <ejb-ref-name>ejb/com/mycomp/ed/ejb/Application</ejb-ref-name> instead of <ejb-ref-name>ejb/com.mycomp.ed.ejb.Application</ejb-ref-name> The wrong name is continuously generated. Please either remove this code (changing dot to slash) from realization or add some parameter which can be control this changing. --------------------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel