Heads merge
authorEugene Ostroukhov <eugeneo@symbian.org>
Fri, 19 Feb 2010 11:37:37 -0800
changeset 179 222da94aea45
parent 178 0788170afe15 (diff)
parent 177 68eb1095ab01 (current diff)
child 180 b79f2fbd4541
Heads merge
org.symbian.wrtools.doc.WRTKit/.classpath
org.symbian.wrtools.doc.WRTKit/.project
org.symbian.wrtools.doc.WRTKit/.settings/org.eclipse.jdt.core.prefs
org.symbian.wrtools.doc.WRTKit/META-INF/MANIFEST.MF
org.symbian.wrtools.doc.WRTKit/build.properties
org.symbian.wrtools.doc.WRTKit/lib/s60.nokia.com.WRTKit_1.0.1.jar
org.symbian.wrtools.doc.WRTKit/src/org/symbian/wrtools/lib/wrtkit/Activator.java
--- a/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/WidgetLaunchDelegate.java	Fri Feb 19 11:25:58 2010 -0800
+++ b/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/WidgetLaunchDelegate.java	Fri Feb 19 11:37:37 2010 -0800
@@ -29,6 +29,7 @@
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Path;
 import org.eclipse.core.runtime.Status;
 import org.eclipse.debug.core.DebugPlugin;
 import org.eclipse.debug.core.ILaunch;
@@ -39,6 +40,7 @@
 import org.symbian.tools.wrttools.debug.internal.ChromeDebugUtils;
 import org.symbian.tools.wrttools.debug.internal.IConstants;
 import org.symbian.tools.wrttools.previewer.PreviewerPlugin;
+import org.symbian.tools.wrttools.util.CoreUtil;
 
 public class WidgetLaunchDelegate implements
 		ILaunchConfigurationDelegate {
@@ -110,6 +112,9 @@
 
 	private String getChromeProfilePath() {
 		IPath location = ResourcesPlugin.getWorkspace().getRoot().getLocation();
+		if (CoreUtil.isLinux() && location.toString().length() > 50) {
+			location = new Path(System.getProperty("user.home")).append(".wrtdebug");
+		}
 		return location.append(".chrome").toOSString();
 	}