Revert "Revert "Revert "TEMP: Fixed build error""" 16/32716/1
authorTaeyoung Son <taeyoung2.son@samsung.com>
Tue, 23 Dec 2014 02:08:48 +0000 (18:08 -0800)
committerTaeyoung Son <taeyoung2.son@samsung.com>
Tue, 23 Dec 2014 02:08:48 +0000 (18:08 -0800)
This reverts commit dad6b21a9dc02aacfa28502ee79efabc77c4badd.

Change-Id: Ifefc6153da454d3f6c1a338c5187b30e5aa2d01c

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

index 2172040..28f19bb 100644 (file)
@@ -960,7 +960,7 @@ public class TizenNativeApplicationDADelegate extends
 
        protected IPath getHostPath(String exePath, ILaunchConfiguration config)
                        throws CoreException {
-               IPath path = target.getRootstrap().getPath();
+               IPath path = new Path(target.getRootstrap().getPath());
                if (target.getRootstrapCommander() == null) {
                        return new Path(exePath);
                }
@@ -1016,7 +1016,7 @@ public class TizenNativeApplicationDADelegate extends
        }
 
     protected void checkPackageFiles(IProject project, IConfiguration config) throws CoreException {
-       String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArch();
+       String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArchitecture();
        List<IPackage> pkgs = pkgUtil.getPackages(project, config, selectedRootstrapArch);
        if (pkgs == null || pkgs.isEmpty()) {
            newCoreException("Can not find package(.rpm) file. Try to build again", null);
index 176ccbe..3e55e0a 100755 (executable)
@@ -399,7 +399,7 @@ public class TizenNativeApplicationDAShortcut extends TizenLaunchShortcut {
     
     protected boolean checkPackaging(final IProject project) {
         final IConfiguration config = PlatformConfigurationManager.getDefaultConfiguration(project);
-        String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArch();
+        String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArchitecture();
         List<IPackage> pkgs = pkgUtil.getPackages(project, config, selectedRootstrapArch);
         if (pkgs == null || pkgs.isEmpty()) {
             if (PlatformLaunchUtil.questionPackaging(project)) {