DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6003>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6003 EjbJar task doesn't support Local Interfaces Summary: EjbJar task doesn't support Local Interfaces Product: Ant Version: 1.4.1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When locating the class-files for the generic jar from the ejb-jar.xml file in org.apache.tools.ant.taskdefs.optional.ejb.DescriptorHandler, only the remote interface, the home interface, the bean implementation and the primary key is detected. It would be very simple to find the local interfaces as well! I assume that you have considered this, but since I couldn't find any trace in the ant-dev mailing list, I am filing this report. If you are interested, I have found that resolving this problem is easy - I just added two more constants to DescriptorHandler: private static final String LOCAL_INTERFACE = "local"; private static final String LOCAL_HOME_INTERFACE = "local-home"; and extended the test for element type in processElement() of DescriptorHandler: if (currentElement.equals(HOME_INTERFACE) || currentElement.equals(REMOTE_INTERFACE) || currentElement.equals(BEAN_CLASS) || currentElement.equals(PK_CLASS) || currentElement.equals(LOCAL_INTERFACE) || currentElement.equals(LOCAL_HOME_INTERFACE)) and it became possible to ejb compile EJBs with local interfaces using Ant. Regards Brynjar Glesnes -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
