Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6308

CLI deploy on windows only treats C:\ forms as absolute

XMLWordPrintable

      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?

              olubyans@redhat.com Alexey Loubyansky
              rhn-support-jlivings James Livingston (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: