5 Replies Latest reply on Jul 3, 2012 9:41 AM by lzcmail

    dependency

    lzcmail

      I use jboss 7.1.1. 

       

      I. If I want to configure mutiple dependency jar files under the same folder (my_ervice.sar) in jboss-deployment-structure.xml,

       

        Instead of:

      <dependencies>

      <module name="deployment.my_ervice.sar.jar1.jar" />

      <module name="deployment.my_ervice.sar.jar2.jar" />

      ...

      </ dependencies>

       

      Could I set  folder (my_ervice.sar) as dependency?

       

       

      2. I have property folder(myfolder) under my_ervice.sar which includes mutiple property files, how can define property dependency in

      jboss-deployment-structure.xml.

       

       

      3. I want to set global dependency for slf4j, I try to set in stanalone.xml

       

      <!-- global module -->

              <subsystem xmlns="urn:jboss:domain:ee:1.0"/>

                  <global-modules>

                      <module name="org.slf4j" slot="main" />

                  </global-modules>

              </subsystem>

       

      but it doesn't work.  I think the reason is xmlns is not correct. What's the correct value for that?

       

       

      Thanks,

       

      G