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

Ivo Studensky (JIRA) jira-events at lists.jboss.org
Mon Sep 30 10:34:02 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12808272#comment-12808272 ] 

Ivo Studensky commented on WFLY-1913:
-------------------------------------

I've got rid of it since the ctx.getCurrentDir() is called before that line, within translatePath() call at line 151 unless the path starts with root, see [1]. Thanks for the counter example I will take a look at it.

[1] https://github.com/wildfly/wildfly/blob/master/cli/src/main/java/org/jboss/as/cli/handlers/module/ASModuleHandler.java#L151
                
> 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