MISC: package version up (2.1.134) 69/15069/1
authorkh5325.kim <kh5325.kim@samsung.com>
Wed, 15 Jan 2014 13:21:15 +0000 (22:21 +0900)
committerkh5325.kim <kh5325.kim@samsung.com>
Wed, 15 Jan 2014 13:21:15 +0000 (22:21 +0900)
- Disabled Command Bar "sdb shell" and system command
- Added method that removes resource information file for RDS on target

Change-Id: Iff635d365c660d365cc2fd077d6ffa8e75c26485
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
org.tizen.common.ui/src/org/tizen/common/ui/commandbar/Commands.java
org.tizen.common.ui/src/org/tizen/common/ui/commandbar/command/SdbCommand.java
org.tizen.common.ui/src/org/tizen/common/ui/commandbar/command/launcher/CommandLauncher.java
package/changelog
package/pkginfo.manifest

index a1e0006..8b3608d 100644 (file)
@@ -69,13 +69,14 @@ public class Commands {
             "forward",\r
             "uninstall",\r
             "install",\r
-            "shell",\r
+            //"shell",\r
             "disconnect",\r
             "connect",\r
             "devices"\r
         };\r
     public final static String SHOW_COMMAND = "show";\r
-    public final static String SYSTEM_COMMAND = "system";\r
+    // TODO: Currently disabled by stdin processing cf.)) sdb shell\r
+    //public final static String SYSTEM_COMMAND = "system";\r
     public final static String TIME_COMMAND = "time";\r
 \r
     public final static int QUERY_COMMAND_MAX_ANSWERS = 5;\r
@@ -95,8 +96,9 @@ public class Commands {
             .addCommand(createCommand("@<project> create",        "Create the project by the active perspective").setProperty("projectExists", false))\r
             .addCommand(createCommand("@<project> create --uifw", "Create the project with UI Framework").setProperty("projectExists", false))\r
             .addCommand(createCommand("@<project> tizen",         "View the project [Tizen Settings] properties").setProperty("projectExists", true));\r
-        createCommandGroup(SYSTEM_COMMAND)\r
-            .addCommand(createCommand("#<cmd>",                   "Run system command"));\r
+        // cf.)) org.tizen.common.ui.commandbar.command.launcher.CommandLauncher.executeImpl(CommandLine, String, String[])\r
+        //createCommandGroup(SYSTEM_COMMAND)\r
+            //.addCommand(createCommand("#<cmd>",                   "Run system command"));\r
         createCommandGroup(QUERY_COMMAND)\r
             .addCommand(createCommand("query <query>",            "View the instant coding answers from http://stackoverflow.com"))\r
             .addCommand(createCommand("query --tizen <query>",    "View the instant answers from https://developer.tizen.org"));\r
index a472aa8..d86e9b2 100644 (file)
@@ -47,12 +47,12 @@ public class SdbCommand extends ConsoleCommand {
     }
 
     private boolean check(String[] opts) {
-        // "sdb shell" can cause IDE hang by its interactive shell
-        if (opts != null && opts.length == 1 && "shell".equals(opts[0])) {
+        // "sdb shell" or "sdb shell su" can cause IDE hang by its interactive shell
+        if (opts != null && opts.length >= 1 && "shell".equals(opts[0])) {
             ConsoleManager console = new ConsoleManager(CONSOLE_NAME, true);
             final MessageConsoleStream stream = console.getMessageConsoleStream();
             try {
-                stream.println("Interactive command 'sdb shell' is not supported. Command Bar just supports direct command like 'sdb shell ls'.");
+                stream.println("Interactive command 'sdb shell' is not supported.");
                 return false;
             } finally {
                 IOUtil.tryClose(stream);
index ff953bd..3309147 100644 (file)
@@ -133,7 +133,9 @@ public class CommandLauncher extends AbstractLauncher {
                 else if (args[0].startsWith(Commands.IDENTIFIER_SYSTEM_COMMAND)) {\r
                     final String systemCmd = args[0].substring(Commands.IDENTIFIER_SYSTEM_COMMAND.length());\r
                     args = (String[]) ArrayUtil.prepend(ArrayUtil.remove(args, 0), systemCmd);\r
-                    command = new SystemCommand();\r
+                    // TODO: Currently disabled by stdin processing cf.)) #time\r
+                    //command = new SystemCommand();\r
+                    command = null;\r
                 }\r
             }\r
         }\r
index 8794dff..bfbc60d 100644 (file)
@@ -1,3 +1,7 @@
+* 2.1.134
+- Disabled Command Bar "sdb shell" and system command
+- Added method that removes resource information file for RDS on target
+== kh5325.kim <kh5325.kim@samsung.com> 2014-01-15
 * 2.1.133
 - Fixed not to run interactive command 'sdb shell' (it can cause an IDE hang)
 == kh5325.kim <kh5325.kim@samsung.com> 2013-12-31
index 4a1d107..d0018f4 100644 (file)
@@ -1,4 +1,4 @@
-Version:2.1.133
+Version:2.1.134
 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>, shingil kang <shingil.kang@samsung.com>