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

James Livingston (JIRA) jira-events at lists.jboss.org
Thu Jan 10 00:54:08 EST 2013


James Livingston created AS7-6308:
-------------------------------------

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


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