facebook

jboss.xml generation [Closed]

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

    rshan
    Member

    I’m running Eclipse3 and MyEclipse3-beta2.

    I’ve created a session bean and when I run xdoclet, the jboss.xml, ejb-jar.xml and etc. have the incorrect dtd reference, which results in invalid xml as far as Eclipse is concerned. The dtd reference is:

    <!DOCTYPE jboss PUBLIC “-//JBoss//DTD JBOSS 2.4//EN” “http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd”&gt;

    whereas it should be:

    <!DOCTYPE jboss PUBLIC “-//JBoss//DTD JBOSS 3.2//EN” “http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd”&gt;

    Making the change in the generated file allows the xml to validate.

    Is this a bug or have I not configured something correctly?

    Thanks,
    rshan

    #211898 Reply

    Scott Anderson
    Participant

    rshan,

    You just need to set the JBoss version you’re using in the JBoss xdoclet task. The default is 2.4.
    Here’s the full doc: http://xdoclet.sourceforge.net/ant/xdoclet/modules/jboss/ejb/JBossSubTask.html

    #211969 Reply

    rshan
    Member

    Thanks! Setting jboss ver to 3.2 resolved the issue.

    BTW, 3.8 beta 2 seems pretty solid so far. Great product, keep up the good work.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: jboss.xml generation [Closed]

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