MISC: Changed launch message variables 19/13619/1
authorkh5325.kim <kh5325.kim@samsung.com>
Wed, 11 Dec 2013 02:26:47 +0000 (11:26 +0900)
committerkh5325.kim <kh5325.kim@samsung.com>
Wed, 11 Dec 2013 02:28:48 +0000 (11:28 +0900)
Changed launch message variables.

Change-Id: Ia45b2b7ee78ccb5dda8af46b2346fb9f6d0299f0
Signed-off-by: kh5325.kim <kh5325.kim@samsung.com>
org.tizen.nativeplatform/src/org/tizen/nativeplatform/launch/PlatformLaunchDelegate.java
org.tizen.nativeplatform/src/org/tizen/nativeplatform/util/PlatformLaunchUtil.java

index f9c7770..a90aff6 100644 (file)
@@ -847,8 +847,7 @@ public class PlatformLaunchDelegate extends AbstractCLaunchDelegate {
                 @Override
                 public void run() {
                     String title = TizenLaunchMessages.LAUNCH_ERROR;
-                    String message = NLS.bind(TizenLaunchMessages.GDBSERVERPORT_ALREADY_USED,
-                            gdbserverPort);
+                    String message = NLS.bind(TizenLaunchMessages.GDBSERVER_PORT_ALREADY_USED, gdbserverPort);
                     LaunchConfigurationLinkDialog dialog = new LaunchConfigurationLinkDialog(
                             SWTUtil.getShell(), config, title, message);
                     dialog.open();
@@ -923,7 +922,7 @@ public class PlatformLaunchDelegate extends AbstractCLaunchDelegate {
                 LaunchUtils.newCoreException(TizenLaunchMessages.GDB_CANNOT_CONNECT_GDBSERVER, e);
             }
             if (debugSession == null) {
-                LaunchUtils.newCoreException(TizenLaunchMessages.CANNOT_CREATE_GDB_SESSION, null);
+                LaunchUtils.newCoreException(TizenLaunchMessages.GDB_CANNOT_CREATE_SESSION, null);
             }
 
             boolean attrDebuggerStopAtMain = config.getAttribute(
@@ -958,8 +957,8 @@ public class PlatformLaunchDelegate extends AbstractCLaunchDelegate {
         SdbCommand sdbCommand = new SdbCommand(device, null, null);
         String output = sdbCommand.returnExecuteCommand(CHECK_RUNNING_GDBSERVER);
         if (StringUtil.isEmpty(output) || !output.contains("gdbserver")) {
-            LaunchUtils.newCoreException(TizenLaunchMessages.NO_RUNNING_GDBSERVER, null);
-            logger.error(TizenLaunchMessages.NO_RUNNING_GDBSERVER);
+            LaunchUtils.newCoreException(TizenLaunchMessages.GDBSERVER_NOT_FOUND, null);
+            logger.error(TizenLaunchMessages.GDBSERVER_NOT_FOUND);
         }
     }
 
index bd34f4d..ee865b3 100644 (file)
@@ -197,7 +197,7 @@ public class PlatformLaunchUtil {
 
         if (!gdbserver.exists()) {
             LaunchUtils.newCoreException(
-                    NLS.bind(TizenLaunchMessages.CANNOT_FIND_GDBSERVER, device.getDeviceName()),
+                    NLS.bind(TizenLaunchMessages.GDBSERVER_NOT_INSTALLED, device.getDeviceName()),
                     null);
         }