Hello, I am new to using XDoclet. Using the latest JBoss IDE with Eclipse 3.1, I want it to generate my EJB home and remote interfaces based on the annotations in the EJB implementation class (J2EE 1.3, EJB 2.0). I have followed the steps in the JBoss IDE Users Guide and have defined my XDoclet tasks. It currently generates all deployment descriptors and home interfaces alright, but it does not generate the remote interface. For my test bean I define:
/** * @ejb.bean name="SLSB_ABean" * display-name="SLSB_ABean" * description="SLSB_ABean" * jndi-name="ejb/SLSB_ABean" * type="Stateless" * view-type="remote" * generate = "true" * transaction-type = "Container" */ public class SLSB_ABean implements SessionBean { [...] } I also annotate all business methods: /** * @ejb.interface-method view-type = "remote" */ public String echoMessage(String msg) { //details omitted } I further added a remoteinterface task in my XDoclet configuration and did also set the destDir property to my src folder. However, when running XDoclet I get the following output in the console: [ejbdoclet] (XDocletMain.start 47 ) Running [ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml). [ejbdoclet] (XDocletMain.start 47 ) Running [ejbdoclet] Generating jboss.xml. [ejbdoclet] (XDocletMain.start 47 ) Running [ejbdoclet] (XDocletMain.start 47 ) Running [ejbdoclet] Generating Home interface for 'com.iona.test.j2ee.SLSB_ABean'. N66236: [webdoclet] (XDocletMain.start 47 ) Running [webdoclet] Generating web.xml. [webdoclet] (XDocletMain.start 47 ) Running [webdoclet] (TemplateSubTask.engineStarted 806 ) Generating output 'jboss-web.xml' using template file 'jar:file:/C:/Java/Eclipse3.1/plugins/org.jboss.ide.eclipse.xdoclet.core_1.5.1.GA/xdoclet-jboss-module-1.2.3.jar!/xdoclet/modules/jboss/web/resources/jboss_web_xml.xdt'. _xdoclet_generation_: BUILD SUCCESSFUL Total time: 2 seconds As you can see, it enters the remoteinterface task but does not generate anything. Does anyone have an idea what I could be missing here in my example? Many thanks in advance for any help. Regards. Torsten Mielke IONA Technologies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942109#3942109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942109 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user