[Title] fix binary name to project name in manifest.xml in native-packaging
authorho.namkoong <ho.namkoong@samsung.com>
Sun, 16 Jun 2013 09:16:03 +0000 (18:16 +0900)
committerho.namkoong <ho.namkoong@samsung.com>
Sun, 16 Jun 2013 09:16:03 +0000 (18:16 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#] 9669
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Ie4bc6ec1884430f2f1bccdce5d15138dd7112b64

org.tizen.cli/src/org/tizen/cli/exec/pack/CLIMultiPackager.java

index dc01d75..f105f6e 100644 (file)
 package org.tizen.cli.exec.pack;
 
 import java.io.File;
-import java.text.MessageFormat;
-
 import org.tizen.common.TizenPlatformConstants;
-import org.tizen.common.core.command.CommandCancelException;
 import org.tizen.common.core.command.Executor;
-import org.tizen.common.util.FileUtil;
 import org.tizen.nativecommon.IXMLStore;
 import org.tizen.nativecommon.build.AbstractMultiPackager;
 import org.tizen.nativecpp.misc.core.NewAppXmlStore;
@@ -77,21 +73,6 @@ public class CLIMultiPackager extends AbstractMultiPackager{
             return false;
         }
         
-        for(String refPath: refPrjPath) {
-            String refPrjBinaryFolder = FileUtil.appendPath(refPath, getBinaryFolder());
-            
-            if(refPath.endsWith("/") || refPath.endsWith("\\")) {
-                refPath = refPath.substring(0, refPath.length() - 1);
-            }
-            
-            String refBinaryName = FileUtil.getFileNameFromPath(refPath) + EXT_BINARY_EXECUTABLE;
-            String refBinaryPath = FileUtil.appendPath(refPrjBinaryFolder, refBinaryName);
-            
-            if(!new File(refBinaryPath).exists()) {
-                throw new CommandCancelException(MessageFormat.format(Messages.getString("CLIMultiPackager.EXCEPTION_BIN_MISSING"), refPath));
-            }
-        }
-        
         return true;
     }