[jboss-jira] [JBoss JIRA] (WFCORE-1864) Whitespaces are not removed from dependencies in module add command

Bartosz Spyrko-Śmietanko (JIRA) issues at jboss.org
Thu Oct 13 05:13:00 EDT 2016


Bartosz Spyrko-Śmietanko created WFCORE-1864:
------------------------------------------------

             Summary: Whitespaces are not removed from dependencies in module add command
                 Key: WFCORE-1864
                 URL: https://issues.jboss.org/browse/WFCORE-1864
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.0.0.Alpha9
            Reporter: Bartosz Spyrko-Śmietanko
            Assignee: Bartosz Spyrko-Śmietanko


Running 
{{module add --name=foo.bar --resources=foo.jar --dependencies=[org.a, org.b ]}}

will result in following dependencies in module.xml
{{
...
    <dependencies>
        <module name="org.a"/>
        <module name=" org.b "/>
    </dependencies>
...
}}

The module name in dependencies should be stripped of leading and trailing whitespaces.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list