Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6117

CLI module command leaves out slot in generated module.xml

    Details

      Description

      If you execute a CLI module command with the --slot option and you allow CLI to auto-generate the module.xml file, it leaves the "slot" attribute out of the generated XML.

      module add --name=foo --slot=bar --resources=my.jar

      Currently generates:

      <?xml version="1.0" ?>
      
      <module xmlns="urn:jboss:module:1.1" name="foo">
      
          <resources>
              <resource-root path="my.jar"/>
          </resources>
      </module>
      

      Should be

      <?xml version="1.0" ?>
      
      <module xmlns="urn:jboss:module:1.1" name="foo" slot="bar">
      
          <resources>
              <resource-root path="my.jar"/>
          </resources>
      </module>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ssilvert Stan Silvert
                Reporter:
                ssilvert Stan Silvert
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: