[Title] added "-s" option of "sdb launch".
authorGun Kim <gune.kim@samsung.com>
Fri, 19 Apr 2013 14:27:19 +0000 (23:27 +0900)
committerGun Kim <gune.kim@samsung.com>
Fri, 19 Apr 2013 14:37:39 +0000 (23:37 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I00153c15af1d2f3c1437cb37cd32e706b903e3fb

org.tizen.common/src/org/tizen/common/sdb/command/SdbCommand.java
package/changelog
package/pkginfo.manifest

index 395a95f..bd8b841 100644 (file)
@@ -80,8 +80,9 @@ public class SdbCommand {
     
     public Process runLaunchCommand(String command, boolean isBlock) throws IOException {
         Process process = null;
+        String serialNumber = device.getSerialNumber();
         if (console != null) {
-            console.println("$ sdb launch " + command);
+            console.println("$ sdb -s " + serialNumber + " launch " + command);
         }
         
         if ( isBlock ) {
@@ -99,9 +100,11 @@ public class SdbCommand {
             if (sdbPath == null) {
                 throw new IOException("Cannot find sdb command");
             }
-            process = Runtime.getRuntime().exec(sdbPath + " launch " + command);
+            
+            String sdbShellCmd = sdbPath + " -s " + serialNumber + " launch " + command;
+            process = Runtime.getRuntime().exec(sdbShellCmd);
         }
-        
+
         return process;
     }
 
index 72f85a0..03a05a9 100644 (file)
@@ -1,3 +1,6 @@
+* 2.1.35
+- Added "-s" option of "sdb launch"
+== gune.kim <gune.kim@samsung.com> 2013-04-19
 * 2.1.34
 - updated Tizen Web UI FW to 0.2.25
 == jihoon80.song <jihoon80.song@samsung.com> 2013-04-19 14:58
index ed316c5..0bc6a63 100644 (file)
@@ -1,4 +1,4 @@
-Version:2.1.34
+Version:2.1.35
 Source:common-eplugin
 Maintainer:kangho kim <kh5325.kim@samsung.com>, yoonki park <yoonki.park@samsung.com>, hyunsik non <hyunsik.noh@samsung.com>, taeyoung son <taeyoung2.son@samsung.com>, gune Kim <gune.kim@samsung.com>, ho namkoong <ho.namkoong@samsung.com>, hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song <jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, bonyong lee <bonyong.lee@samsung.com>