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;
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;
}