Revert "TEMP: Fixed build error" 33/32233/1
authorTaeyoung Son <taeyoung2.son@samsung.com>
Wed, 17 Dec 2014 05:31:54 +0000 (21:31 -0800)
committerTaeyoung Son <taeyoung2.son@samsung.com>
Wed, 17 Dec 2014 05:31:54 +0000 (21:31 -0800)
This reverts commit 187e469b448dc85e47639b3112df7240704a9409.

Change-Id: I6dd3fefc5f23be0c51a2ba77cc8b8214e09416a4

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)) {