summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanghyunnimlee <sanghyunnim.lee@samsung.com>2014-07-30 14:18:12 +0900
committersanghyunnimlee <sanghyunnim.lee@samsung.com>2014-07-30 14:21:29 +0900
commit95882d36710f796d8ca6f5c4840566ed97f67689 (patch)
tree663bfbd4b553a4804dbe0877ce0e1e1767bfeedb
parent88b6d282a2437fc72dd575ab2130f8d18c722576 (diff)
downloadcommon-eplugin-95882d36710f796d8ca6f5c4840566ed97f67689.tar.gz
common-eplugin-95882d36710f796d8ca6f5c4840566ed97f67689.tar.bz2
common-eplugin-95882d36710f796d8ca6f5c4840566ed97f67689.zip
PACKAGING: Fixed a bug in package command
Fixed a bug when check sign Change-Id: I56cc99ebda149358951cc5db79b6462f98a76354 Signed-off-by: sanghyunnimlee <sanghyunnim.lee@samsung.com>
-rw-r--r--org.tizen.common.packager/src/org/tizen/common/packager/core/PackageCommand.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.tizen.common.packager/src/org/tizen/common/packager/core/PackageCommand.java b/org.tizen.common.packager/src/org/tizen/common/packager/core/PackageCommand.java
index cbc145afb..83a569b8c 100644
--- a/org.tizen.common.packager/src/org/tizen/common/packager/core/PackageCommand.java
+++ b/org.tizen.common.packager/src/org/tizen/common/packager/core/PackageCommand.java
@@ -74,12 +74,14 @@ public class PackageCommand extends FileHandlingCommand<Boolean> {
}
}
+ Collection<IResource> handledPackageResources = handleDuplicateFile(packageResources, context);
+
if (needSign) {
- packageResources.addAll(generateSignResources(signPath));
+ handledPackageResources.addAll(generateSignResources(signPath));
}
UserLogger.start( UserInteraction.CATE_WEB_PACKAGE, UserInteraction.BUILD_PACKAGING);
- result = PackageUtil.createPackage(handleDuplicateFile(packageResources, context), outputStream);
+ result = PackageUtil.createPackage(handledPackageResources, outputStream);
UserLogger.end( UserInteraction.CATE_WEB_PACKAGE, UserInteraction.BUILD_PACKAGING);
}