5 Replies Latest reply on Mar 11, 2004 7:54 AM by fheldt

    JBoss.net XDoclet module

    kirschgens

      Hi *,

      on http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/guides/jboss.net/xdoclet Christoph Jung describes how to use the JBoss.net XDoclet module. That's fine, but I'm not experienced enough to handle these instructions correctly. Can someone tell me which files I have to modify? It also would be nice to get told how to do this in Eclipse (2.1.2) with Lomboz (2.1.1) since I'm using this :-)

      Thanks in advance,
      Holm.

        • 1. Re: JBoss.net XDoclet module
          goldrimtang

          I found this guide quite useful:
          http://www.nsdev.org/jboss/stories/jboss-net.html

          Hope it helps,

          GRT

          • 2. Re: JBoss.net XDoclet module
            benvenutto

            I downloaded the patched .NET module from the No Such Device website, but the XDoclet plug-in in Eclipse wouldn't recognise it until I repackaged it as a jar instead of a zip.

            Copy this into the xdoclet plug-in ...xdoclet.core... directory and you should be able to refer to it as a ejbdoclet subtask, e.g.:

             <jbossnet webDeploymentName="InvokeEJB"
             prefix="invokeejb"
             destdir="src/META-INF"
             targetNameSpace="http://localhost/SOAP/Invoke" />
            


            Note that the ejbdoclet task for the above subtask refers to a classpath that contains all the jars in the ...xdoclet.core... directory.

            The jbossnet subtask will now be recognised when you run Ant. This still doesn't help set things up in the Project Properties -> XDoclet Configurations page (as described in the JBoss IDE tutorial). This page seems to be driven by the configuration files in the xdoclet plug-in ...xdoclet.run.../resources directory. These files define the hierarchy of subtasks and allowable attributes. Will investigate further when I have time.

            • 3. Re: JBoss.net XDoclet module
              geekslap

              I've found that the "xdoclet-module-jboss-net.jar" linked from the www.nsdev.org site does not work with new xdoclet-1.2. It looks like xdoclet now has a "axisdeploy" nested element for the "EjbDoclet" task, but it doesn't seem to generate a usable deployment descriptor XML file...

              Anybody been able to work through this?

              • 4. Re: JBoss.net XDoclet module
                yangju

                I found the same thing. With the xdoclet-1.2b4, "xdoclet-module-jboss-net.jar" linked from the www.nsdev.org site only generated a skeleton. (header and tail). The body for web-service.xml is blank. I tried every way. Still the same.
                Anybody can give some light?

                By the way, anybody can use maven to generate web-service.xml?

                Thanks.

                Richard

                • 5. Re: JBoss.net XDoclet module
                  fheldt

                  I'm using the xdoclet-module from http://prdownloads.sourceforge.net/jboss/xdoclet-module-jboss-net.jar?download with eclipse 2.1.2 without a problem. I just put it in the "plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.2" dir and it worked.

                  Frank