From c452da59020a7442ba5fbe2270d299fdb5c0fdef Mon Sep 17 00:00:00 2001 From: Gun Kim Date: Fri, 19 Apr 2013 23:27:19 +0900 Subject: [PATCH] [Title] added "-s" option of "sdb launch". [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] Change-Id: I00153c15af1d2f3c1437cb37cd32e706b903e3fb --- .../src/org/tizen/common/sdb/command/SdbCommand.java | 9 ++++++--- package/changelog | 3 +++ package/pkginfo.manifest | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/org.tizen.common/src/org/tizen/common/sdb/command/SdbCommand.java b/org.tizen.common/src/org/tizen/common/sdb/command/SdbCommand.java index 395a95f..bd8b841 100644 --- a/org.tizen.common/src/org/tizen/common/sdb/command/SdbCommand.java +++ b/org.tizen.common/src/org/tizen/common/sdb/command/SdbCommand.java @@ -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; } diff --git a/package/changelog b/package/changelog index 72f85a0..03a05a9 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,6 @@ +* 2.1.35 +- Added "-s" option of "sdb launch" +== gune.kim 2013-04-19 * 2.1.34 - updated Tizen Web UI FW to 0.2.25 == jihoon80.song 2013-04-19 14:58 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index ed316c5..0bc6a63 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version:2.1.34 +Version:2.1.35 Source:common-eplugin Maintainer:kangho kim , yoonki park , hyunsik non , taeyoung son , gune Kim , ho namkoong , hyeongseok heo , gyeongseok seo , jihoon song , changhyun lee , bonyong lee -- 2.7.4