From: Joogwan Kim Date: Mon, 31 Oct 2011 06:59:06 +0000 (+0900) Subject: [Title] Modify Initiating of SmartDevelopmentBridge for OS independent X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d02286150e865925a737a5126975e25ab5fc556;p=sdk%2Fide%2Fcommon-eplugin.git [Title] Modify Initiating of SmartDevelopmentBridge for OS independent [Type] Bugfix [Module] [Priority] Minor [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/com.samsung.slp.common/src/com/samsung/slp/common/Activator.java b/com.samsung.slp.common/src/com/samsung/slp/common/Activator.java index 3fb2c2b..a59693c 100644 --- a/com.samsung.slp.common/src/com/samsung/slp/common/Activator.java +++ b/com.samsung.slp.common/src/com/samsung/slp/common/Activator.java @@ -19,6 +19,8 @@ package com.samsung.slp.common; +import java.io.File; + import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; @@ -42,8 +44,8 @@ public class Activator extends AbstractUIPlugin { */ public Activator() { SmartDevelopmentBridge.init(); - String sdbPath = InstallPathConfig.getSDKPath() + "/SDK/sdb/sdb"; - SmartDevelopmentBridge.createBridge(sdbPath,true); + String sdbPath = InstallPathConfig.getSDKPath() + File.separator + "SDK" + File.separator +"sdb" + File.separator + "sdb"; + SmartDevelopmentBridge.createBridge(sdbPath, true); } /*