diff options
-rw-r--r-- | org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/launch/TizenNativeApplicationDADelegate.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/launch/TizenNativeApplicationDADelegate.java b/org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/launch/TizenNativeApplicationDADelegate.java index f2d44e2..765eba1 100644 --- a/org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/launch/TizenNativeApplicationDADelegate.java +++ b/org.tizen.dynamicanalysis.ide.eplugin/src/org/tizen/dynamicanalysis/ide/eplugin/launch/TizenNativeApplicationDADelegate.java @@ -333,6 +333,10 @@ public class TizenNativeApplicationDADelegate extends rdsDeployer.setIgnoreList(TizenLaunchInfo .makeIgnoreList()); if (!rdsDeployer.deploy()) { + if (packager == null) { + bSuccessBuild = false; + return; + } buildPackage(monitor, project, manifest, packager); normalDeploy(monitor, project, @@ -341,6 +345,10 @@ public class TizenNativeApplicationDADelegate extends } rdsDeployer.pushResInfoFile(); } else { + if (packager == null) { + bSuccessBuild = false; + return; + } buildPackage(monitor, project, manifest, packager); normalDeploy(monitor, project, @@ -614,7 +622,9 @@ public class TizenNativeApplicationDADelegate extends String rpmFolderPath = project.getFolder(getBuildConfiguration(project).getName()).getLocation().toOSString(); File rpmFolder = new File(rpmFolderPath); File[] rpmList = rpmFolder.listFiles(new ExtFilter(PLATFORM_PKG_TYPE.toLowerCase())); - + if (rpmList == null) { + return rpms; + } for (int i = 0; i < rpmList.length; i++) { rpms.add(rpmList[i].getAbsolutePath()); } |