# HG changeset patch # User Eugene Ostroukhov # Date 1285611473 25200 # Node ID 8dc379deac15a57e81007a133c6923d892ff3c71 # Parent 27d83b3c91550d89d231cc84507341d8f3b8ad20 Bug 3760 - [TMW] Application broken if installpath has space character in it diff -r 27d83b3c9155 -r 8dc379deac15 .hgignore --- a/.hgignore Tue Sep 21 16:20:28 2010 -0700 +++ b/.hgignore Mon Sep 27 11:17:53 2010 -0700 @@ -1,3 +1,4 @@ syntax: regexp ^[\w\./]*/bin/ -.*/Thumbs.db \ No newline at end of file +.*/Thumbs.db +.*\.DS_Store 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; diff -r 27d83b3c9155 -r 8dc379deac15 plugins/org.symbian.tools.wrttools.product/launch/WRT IDE Product (Mac OS X).launch --- a/plugins/org.symbian.tools.wrttools.product/launch/WRT IDE Product (Mac OS X).launch Tue Sep 21 16:20:28 2010 -0700 +++ b/plugins/org.symbian.tools.wrttools.product/launch/WRT IDE Product (Mac OS X).launch Mon Sep 27 11:17:53 2010 -0700 @@ -21,8 +21,8 @@ - - + +