[Title] Modify Initiating of SmartDevelopmentBridge for OS independent
authorJoogwan Kim <joogwan.kim@samsung.com>
Mon, 31 Oct 2011 06:59:06 +0000 (15:59 +0900)
committerJoogwan Kim <joogwan.kim@samsung.com>
Mon, 31 Oct 2011 06:59:06 +0000 (15:59 +0900)
[Type] Bugfix
[Module]
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

com.samsung.slp.common/src/com/samsung/slp/common/Activator.java

index 3fb2c2b..a59693c 100644 (file)
@@ -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);
     }
 
     /*