Commons VFS
  1. Commons VFS
  2. VFS-339

Unable to resolve special windows folders

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Windows

      Description

      VFS unable to support special windows folders (Network, recent, computer, libraries, etc).

      File[] cbFolders = (File[])sun.awt.shell.ShellFolder.get("fileChooserComboBoxFolders");

      and then converting them to FileObjects like so:

      for(File f: cbFolders)

      { fileObjArray.add(mgr.resolveFile(f.getPath())); }

      The path of these files are like "::

      {20D04FE0-3AEA-1069-A2D8-08002B30309D}

      "

      So I tried to debug it and fixed this bug: https://issues.apache.org/jira/browse/VFS-338

      and then removed:

      if (startPos < 2)

      { throw new FileSystemException("vfs.provider.local/not-absolute-file-name.error", uri); }

      return "//" + extractUNCPrefix(uri, name);

      But now complains about the file doesn't exist. I'll keep trying...

        Activity

        Daniel R created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel R
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development