[jboss-jira] [JBoss JIRA] (WFLY-1913) CLI 'module add' command fail if a drive letter is specified in its resource path

Stan Silvert (JIRA) jira-events at lists.jboss.org
Mon Sep 30 09:35:03 EDT 2013


     [ https://issues.jboss.org/browse/WFLY-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan Silvert reopened WFLY-1913:
--------------------------------



Reopening.

This fix breaks module commands that are part of a deployment archive.  See erroneous fix here: https://github.com/wildfly/wildfly/commit/e4c831dfe87668dd3a1c308ae43378e015e416b4#diff-f8a04572ea92d965c2b95278f93cdd90

You can't just get rid of the call to ctx.getCurrentDir().  It's there for a reason.  A module command can be included in a deploy.scr script, which is inside a *.cli archive.  See https://community.jboss.org/wiki/CLIDeploymentArchive

The call to ctx.getCurrenDir() ensures that the resources are found in the archive rather than on the file system.
                
> CLI 'module add' command fail if a drive letter is specified in its resource path
> ---------------------------------------------------------------------------------
>
>                 Key: WFLY-1913
>                 URL: https://issues.jboss.org/browse/WFLY-1913
>             Project: WildFly
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 8.0.0.Alpha4
>            Reporter: Ivo Studensky
>            Assignee: Ivo Studensky
>             Fix For: 8.0.0.Beta1
>
>
> If a drive letter is specified in the resource path the module add command fails on MS Windows. It cannot locate such a resource because of doubled drive letter in the translated path.

--
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