private void addNewExecutableFile(PackInfo pack, String target, String condition, List<OsModel> osList, int executionStage, int type, String mainClass, int onFailure, boolean keepFile, List<String> argsList ) throws CompilerException { ExecutableFile executable = new ExecutableFile(); executable.path = target; executable.setCondition(condition); executable.osList = osList; executable.executionStage = executionStage; executable.type = type; executable.mainClass = mainClass; executable.onFailure = onFailure; executable.keepFile = keepFile; for (String arg : argsList) { executable.argList.add(arg); } pack.addExecutable(executable); }
logger.fine("Unpacked executable: " + executableFile.toString()); if (!executableFile.hasCondition() || isConditionTrue(executableFile.getCondition()))
ExecutableFile executableFile = new ExecutableFile(file.getAbsolutePath(), ExecutableFile.POSTINSTALL, ExecutableFile.ABORT, oses, false);
Vector<File> intermediates = new Vector<File>(); execFiles.add(new ExecutableFile(fileName, ExecutableFile.UNINSTALL, ExecutableFile.IGNORE, new ArrayList<OsModel>(), false)); files.add(fileName);