### Eclipse Workspace Patch 1.0 #P org.eclipse.rse.efs.ui Index: src/org/eclipse/rse/internal/efs/ui/RSEFileSystemContributor.java =================================================================== RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.efs.ui/src/org/eclipse/rse/internal/efs/ui/RSEFileSystemContributor.java,v retrieving revision 1.1 diff -u -r1.1 RSEFileSystemContributor.java --- src/org/eclipse/rse/internal/efs/ui/RSEFileSystemContributor.java 25 May 2007 17:19:15 -0000 1.1 +++ src/org/eclipse/rse/internal/efs/ui/RSEFileSystemContributor.java 12 Jul 2007 13:54:43 -0000 @@ -17,6 +17,7 @@ * - Improve performance by RSEFileStore instance factory and caching IRemoteFile. * - Also remove unnecessary class RSEFileCache and obsolete branding files. * Martin Oberhuber (Wind River) - [188360] renamed from plugin org.eclipse.rse.eclipse.filesystem + * Kevin Doyle (IBM) - [189441] New Project using RSE can't be done with Windows ********************************************************************************/ @@ -74,6 +75,14 @@ IRemoteFile file = (IRemoteFile)selected; String path = file.getAbsolutePath(); + + // Windows file paths will contain \ but URI's can't contain them + path = path.replace('\\', '/'); + + // Path must start with a / + if (!path.startsWith("/")) //$NON-NLS-1$ + path = "/" + path; //$NON-NLS-1$ + IHost host = dlg.getSelectedConnection(); String hostName = host.getHostName();