2 Replies Latest reply on May 20, 2015 8:28 AM by Sergiu Pienar

    Can module depend on an EAR ?

    Sergiu Pienar Apprentice

      Can a jboss module declare a dependency on a certain EAR ? Not sure if this is possible (or even reasonable from a design POV).

       

      In my module.xml I tried with

       

      <?xml version="1.0" encoding="UTF-8"?>
      
      
      <module xmlns="urn:jboss:module:1.0" name="com.myModule">
        <resources>
          <resource-root path="myModule.jar"/>
        <resource-root path="smpp.jar"/>
        </resources>
        
        <dependencies>
          <module name="org.apache.log4j"/>
        <module name="deployment.all-5.5.ear" export="TRUE" />
        </dependencies>
        
      </module>
      

      But the classes defined in myModule.jar can not access the classes from the all-5.5.ear .