From 13c4c4acd48cca1e16581f30aa2d424694c181b6 Mon Sep 17 00:00:00 2001 From: "kh5325.kim" Date: Fri, 14 Dec 2012 20:38:07 +0900 Subject: [PATCH] [Title] Added logs for rpm parsing [Type] [Module] [Priority] [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- .../src/org/tizen/common/connection/debugtools/OnDemandInstall.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java b/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java index 196db7b..78902b1 100644 --- a/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java +++ b/org.tizen.common.connection/src/org/tizen/common/connection/debugtools/OnDemandInstall.java @@ -400,7 +400,7 @@ public class OnDemandInstall { if ( packageFileList == null ) { continue; } - for (File f : packageList.listFiles()) { + for (File f : packageFileList) { if ( OnDemandInstall.RPM_PACKAGE_TYPE.equals(FileUtil.getFileExtension(f.getName())) ) { dt = makeDebugToolFromRPM(f, device, packagename, sourcepath, description); } @@ -442,6 +442,7 @@ public class OnDemandInstall { architecture = archSplit[archSplit.length-2]; if ( !packagename.equals(name) ) { + verbose("packagename('" + packagename + "') does not match with the split file name('" + name + "')."); return null; } if (verifyArchitecture(architecture) == false) { -- 2.7.4