Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 73658 Details for
Bug 189441
[efs] New Project using RSE can't be done with Local Connection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Path must start with "/" and URI's can't contain "\"
patch.txt (text/plain), 1.50 KB, created by
Kevin Doyle
on 2007-07-12 09:59:43 EDT
(
hide
)
Description:
Path must start with "/" and URI's can't contain "\"
Filename:
MIME Type:
Creator:
Kevin Doyle
Created:
2007-07-12 09:59:43 EDT
Size:
1.50 KB
patch
obsolete
>### 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(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189441
:
73658