diff -r 27d83b3c9155 -r 8dc379deac15 plugins/org.symbian.tools.tmw.core/src/org/symbian/tools/tmw/core/internal/projects/StaticIncludePathProvider.java --- a/plugins/org.symbian.tools.tmw.core/src/org/symbian/tools/tmw/core/internal/projects/StaticIncludePathProvider.java Tue Sep 21 16:20:28 2010 -0700 +++ b/plugins/org.symbian.tools.tmw.core/src/org/symbian/tools/tmw/core/internal/projects/StaticIncludePathProvider.java Mon Sep 27 11:17:53 2010 -0700 @@ -22,6 +22,7 @@ import java.io.IOException; import java.net.URISyntaxException; import java.net.URL; +import java.net.URLEncoder; import org.eclipse.core.runtime.FileLocator; import org.eclipse.core.runtime.IConfigurationElement; @@ -50,14 +51,12 @@ final URL url = FileLocator.find(bundle, new Path(path), null); try { final URL fileURL = FileLocator.toFileURL(url); - final File file = new File(fileURL.toURI()); + final File file = new File(fileURL.getPath()); final IIncludePathEntry entry = JavaScriptCore.newLibraryEntry(new Path(file.getAbsolutePath()), null, null); entries = new IIncludePathEntry[] { entry }; } catch (IOException e) { TMWCore.log(String.format("Can't find file %s in plugin %s", path, name), e); - } catch (URISyntaxException e) { - TMWCore.log(String.format("Can't find file %s in plugin %s", path, name), e); } } return entries;