1 Reply Latest reply on Feb 25, 2006 10:53 AM by David Díaz

    XDoclet, jboss.xml, jboss-web.xml and security-domain

    Roger Parkinson Newbie

      I have two minor problems with XDoclet output.

      1) jboss.xml: generates the bean reference just fine, but how do I get a security-domain tag in there?

      2) jboss-web.xml: missing the ejb-ref tag. It works in the tutorial and I cannot see any difference in the setup. I also need to know how to get the security-domain tag in there as well.

      These are easy to edit each time, but it is nicer not to have to.

        • 1. Re: XDoclet, jboss.xml, jboss-web.xml and security-domain
          David Díaz Newbie

          In the web case, the problem; as i understand it, is that cvs has some conflicts updating the jboss-web.xml. If you delete it before running xdoclet the security domain specified in the xdoclet-build.xml (the project's xdoclet preferences in the ide) should be ported.

          One solution is to set the force attribute to true for the webdoclet subtask. (project>properties>xdoclet> ... webdoclet. double click to force attribute and set to true in the ide)