[jboss-jira] [JBoss JIRA] (AS7-6117) CLI module command leaves out slot in generated module.xml

Stan Silvert (JIRA) jira-events at lists.jboss.org
Fri Dec 7 14:15:17 EST 2012


Stan Silvert created AS7-6117:
---------------------------------

             Summary: CLI module command leaves out slot in generated module.xml
                 Key: AS7-6117
                 URL: https://issues.jboss.org/browse/AS7-6117
             Project: Application Server 7
          Issue Type: Feature Request
          Components: CLI
    Affects Versions: 7.1.3.Final (EAP)
            Reporter: Stan Silvert
            Assignee: Stan Silvert
             Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)


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:
{code:xml}
<?xml version="1.0" ?>

<module xmlns="urn:jboss:module:1.1" name="foo">

    <resources>
        <resource-root path="my.jar"/>
    </resources>
</module>
{code}

Should be
{code:xml}
<?xml version="1.0" ?>

<module xmlns="urn:jboss:module:1.1" name="foo" slot="bar">

    <resources>
        <resource-root path="my.jar"/>
    </resources>
</module>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list