[jboss-jira] [JBoss JIRA] (AS7-6308) CLI deploy on windows only treats C:\ forms as absolute

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Fri Jan 18 04:19:21 EST 2013


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

Alexey Loubyansky resolved AS7-6308.
------------------------------------

    Fix Version/s: 7.2.0.Alpha1
       Resolution: Done


Fixed. Thanks!
                
> CLI deploy on windows only treats C:\ forms as absolute
> -------------------------------------------------------
>
>                 Key: AS7-6308
>                 URL: https://issues.jboss.org/browse/AS7-6308
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: James Livingston
>            Assignee: Alexey Loubyansky
>             Fix For: 7.2.0.Alpha1
>
>
> WindowsFilenameTabCompleter.startsWithRoot() is implemented to treat strings containing :\ as absolute paths.
> This does not handle UNC paths (network shares) which start with a double backslash. The rest of the path is also not sensitive to whether you use forward or backward slashes, so perhaps it should consider paths containing :/ as absolute too.
> Are there situations where "new File(path).isAbsolute()" would not work?

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