tle]change device attribute value for launch configuration to device id
authorhyunsik.noh <hyunsik.noh@samsung.com>
Fri, 28 Jun 2013 09:44:53 +0000 (18:44 +0900)
committerhyunsik.noh <hyunsik.noh@samsung.com>
Thu, 4 Jul 2013 05:42:47 +0000 (14:42 +0900)
(depends on device type)
[Type]
[Module]DA
[Priority]
[CQ#]
[Redmine#]7535
[Problem]
[Cause]
[Solution]

Change-Id: I86722b454368fb86b0e7808edd09703a27204e76

org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/launch/TizenNativeApplicationDAShortcut.java

index 5c9270e..c899bab 100755 (executable)
@@ -161,9 +161,7 @@ public class TizenNativeApplicationDAShortcut extends TizenLaunchShortcut {
                wc.setMappedResources(new IResource[] { project });
                wc.setAttribute(
                                ICDTLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, "");//$NON-NLS-1$
-               wc.setAttribute(
-                               TizenLaunchConfigurationConstants.ATTR_CONFIG_DEVICE_NAME,
-                               device.getDeviceName());
+               LaunchUtils.setDeviceToLaunchConfiguration(wc, device);
 
                setStopAtMain(wc, project);
 
@@ -213,9 +211,7 @@ public class TizenNativeApplicationDAShortcut extends TizenLaunchShortcut {
                        wc.setMappedResources(new IResource[] { project });
                        wc.setAttribute(
                                        ICDTLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY, "");//$NON-NLS-1$
-                       wc.setAttribute(
-                                       TizenLaunchConfigurationConstants.ATTR_CONFIG_DEVICE_NAME,
-                                       device.getDeviceName());
+                       LaunchUtils.setDeviceToLaunchConfiguration(wc, device);
 
                        setStopAtMain(wc, project);