1 Reply Latest reply on Jul 24, 2015 11:35 AM by Tomaž Cerar

    CLI 'module add' creates module does not under directory 'modules/system/layers/base/' in WildFly 10

    Lin Gao Newbie



        I tried to use CLI: module add to create a new jboss module in the latest build of WF 10, which produces a module under directory 'modules', instead of 'modules/system/layers/base', is it expected? or it is a bug ?




      [standalone@localhost:9990 /] module add --name=jca.test --resources=~/workspace/eap6/jca/checker.jar --dependencies=org.jboss.ironjacamar.jdbcadapters


      Then I get the jboss module at:

      lgao /sources/wildfly/dist $ tree target/wildfly-10.0.0.Alpha6-SNAPSHOT/modules/jca/
      `-- test
          `-- main
              |-- checker.jar
              `-- module.xml
      2 directories, 2 files



      The content of module.xml is correct, but shouldn't the module be located at: 'target/wildfly-10.0.0.Alpha6-SNAPSHOT/modules/system/layers/base/jca/' ?