facebook

Jboss.xml goes into wrong directory. [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #207422 Reply

    I’m using eclipse 2.1.3 with the 2.7.1 MyEclpse plug in.

    When you create ejb’s and run xdoclet the joss.xml and jaws.xml are created in the root of the jar and not in the WEB-INF directory. If you change the destDir property in the jboss tag in the xdoclet-build.xml to point to the WEB-INF dir, the files are created correctly but you get error complaining about xml elements not being correct, however, they seem to be.

    #207431

    Scott Anderson
    Participant

    If you change the destDir property in the jboss tag in the xdoclet-build.xml to point to the WEB-INF dir, the files are created correctly but you get error complaining about xml elements not being correct, however, they seem to be.

    I think you’ll find that the generated files do not strictly conform to the DTD for that file. The errors we mark are provided by running a Xerces parse on the files. I’ve seen this error in the jaws.xml file, for example, since it will be generated empty if your tags aren’t properly configured? However, this is an old JBoss 2 feature. You’re most likely using JBoss 3 or later and if that’s the case you should set the JBoss version to 3.0 or 3.1 jn the jboss subtask settings in the ejbdoclet, . The default is 2.4 and this creates jaws.xml

    #207484

    Riyad Kalla
    Member

    robertpickering,
    Did Scott’s suggestion help? Can I close this thread?

    #207521

    OK Thanks, seems to solve my problems.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Jboss.xml goes into wrong directory. [Closed]

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