3 Replies Latest reply on Dec 14, 2011 3:14 AM by Stephen Coy

    need jboss-deployment-structure.xml example code !

    Joseph Hwang Novice

      My development environ is jboss 7.0.2 and eclipse indigo. My deployment directory archit. is like below :

       

      standalone

              |
              |---deployments
                             |
                             |---EJBHelloWorldWeb.war
                             |
                             |--- EJBHelloWorld.jar

       

      To link war and jar folders I made jboss-deployment-structure.xml in META-INF folder of EJBHelloWorldWeb.war

      Below codes are example I made. But parse is definetly failed!

       

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
         

        <ear-subdeployments-isolated>true</ear-subdeployments-isolated>
         
        <deployment>
          <dependencies>
            <module name="EJBHelloWorld.jar">
              <imports>
                <include-set>
                  <path name="EJBHelloWorld.jar" value="." />
                </include-set>
              </imports>
              <resources>
                <resource-root path="EJBHelloWorld.jar" />
              </resources>
            </module>
          </dependencies>
        </deployment>

      </jboss-deployment-structure>

       

      I can hardly find example code of jboss-deployment-structure.xml even in google.com

      Kindly inform me of your advice. Thanks in advance and Merry Christmas!