aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-04-17 10:01:19 (EDT)
committersefftinge2009-04-17 10:01:19 (EDT)
commita41f9e14e747efd1fa77441262f3bf78da43f97c (patch)
treeaa4afc6bce339395b834f3ba3227406b6f95e1de
parent8a5b49c609f7dc4025138bbb7eba70ad2a342355 (diff)
downloadorg.eclipse.xtext-a41f9e14e747efd1fa77441262f3bf78da43f97c.zip
org.eclipse.xtext-a41f9e14e747efd1fa77441262f3bf78da43f97c.tar.gz
org.eclipse.xtext-a41f9e14e747efd1fa77441262f3bf78da43f97c.tar.bz2
Fix: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=272687
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java
index 2014df0..9e6be31 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java
@@ -125,6 +125,7 @@ public class JdtClasspathUriResolver implements IClasspathUriResolver {
resource = jarPackageFragmentRoot.getUnderlyingResource();
if (resource == null) {
String name = zipFile.getName();
+ name = name.replace('\\', '/');
String uri = "jar:file:" + name + "!" + projectRelativePath;
return URI.createURI(uri);
}