aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2008-12-02 14:50:51 (EST)
committersefftinge2008-12-02 14:50:51 (EST)
commit02cd1da5903d55cec329020367792f97519fd65d (patch)
tree169faf4f0de985c51e745065db9119b254133fca
parent37b7ff710d755f7a7322c6e508c819e353a3c48e (diff)
downloadorg.eclipse.xtext-02cd1da5903d55cec329020367792f97519fd65d.zip
org.eclipse.xtext-02cd1da5903d55cec329020367792f97519fd65d.tar.gz
org.eclipse.xtext-02cd1da5903d55cec329020367792f97519fd65d.tar.bz2
fix for Classpath URIs at runtime (https://bugs.eclipse.org/bugs/show_bug.cgi?id=256236)
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/editor/model/XtextDocument.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/editor/model/XtextDocument.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/editor/model/XtextDocument.java
index c3fc90f..c9ef2d3 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/editor/model/XtextDocument.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/editor/model/XtextDocument.java
@@ -53,7 +53,7 @@ public class XtextDocument extends Document implements IXtextDocument {
IJavaProject javaProject = getIJavaProject(file);
if (javaProject != null) {
- resourceSet.setClasspathURIContext(new JdtClasspathUriResolver());
+ resourceSet.setClasspathUriResolver(new JdtClasspathUriResolver());
resourceSet.setClasspathURIContext(javaProject);
}