facebook

JBoss.xml file location [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #208339 Reply

    Ensonik
    Member

    When running xdoclet from the workbench using the MyEclipse/Generate XDoclet command, the jboss.xml file is put into the wrong directory. Instead of putting it in the META-INF wih the ejb-jar.xml file, it puts it at the same level. The consequence of this is that JBoss doesn’t find it and the MDB doesn’t register properly.

    Is there a way to specify where the jboss.xml file will get generated?

    Thanks for any input.

    #208341 Reply

    Greg
    Member

    Sure,

    Open the MyEclipse-XDoclet preference page. Under the ejbdoclet task you should have a jboss subtask, click on the jboss subtask and modify the destDir attribute and change it to src/META-INF. This will tell xdoclet where to generate all jboss related descriptors. Make sure the “destDir” attribute is checked before hitting “OK”.

    #208345 Reply

    Ensonik
    Member

    Sweet!

    This was the only “problem” preventing me from buying into the yearly subscription. I’m in now.

    Thanks greg.

    #208348 Reply

    Riyad Kalla
    Member

    This was the only “problem” preventing me from buying into the yearly subscription. I’m in now.

    Thank you for the support, we appreciate it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JBoss.xml file location [Closed]

You must be logged in to post in the forum log in