Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsrinivasan2010-07-12 15:34:45 -0400
committerrsrinivasan2010-07-12 15:34:45 -0400
commitf055e0b2b4131f335ae34ac5618e60dbd1b95fe5 (patch)
tree472775887a6a8a62418329e58fd8b359a7c0640f
parente6d4d2d404f3821c5d1abe8ba65c03e55f633c5b (diff)
downloadwebtools.jsf-f055e0b2b4131f335ae34ac5618e60dbd1b95fe5.tar.gz
webtools.jsf-f055e0b2b4131f335ae34ac5618e60dbd1b95fe5.tar.xz
webtools.jsf-f055e0b2b4131f335ae34ac5618e60dbd1b95fe5.zip
Bug 318596 - [hotbug-request] Default facelets taglibs are not loaded when product is installed into a path with spaces
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/DefaultStandardTaglibLocator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/DefaultStandardTaglibLocator.java b/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/DefaultStandardTaglibLocator.java
index 9d884e6be..e62b51ca2 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/DefaultStandardTaglibLocator.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facelet.core/src/org/eclipse/jst/jsf/facelet/core/internal/registry/taglib/DefaultStandardTaglibLocator.java
@@ -47,7 +47,7 @@ public class DefaultStandardTaglibLocator extends AbstractFaceletTaglibLocator
final URL url = FaceletCorePlugin.getDefault().getBundle()
.getEntry(location);
final URL fileURL = FileLocator.toFileURL(url);
- File file = new File(fileURL.toURI());
+ File file = new File(fileURL.getPath());
final InputStream openStream = fileURL.openStream();
final TagModelLoader loader = new TagModelLoader(
file.getAbsolutePath());

Back to the top