Lines Matching refs:tempDir

591         String tempDir = TEMP_DIR + File.separator + UUID.randomUUID();
592 mkdir(new File(oldFileParent + File.separator + tempDir));
599 String tempPath = oldFileParent + File.separator + tempDir + File.separator + fileName;
1182 File tempDir = new File(tempPath);
1183 if (!tempDir.exists()) {
1184 tempDir.mkdirs();
1189 String hapTempPath = tempDir + File.separator + hapFile.getName();
1583 String tempDir) throws BundleException {
1592 finalAppPackInfo = selectHapInApp(appPath, seletedHaps, tempDir, finalAppPackInfo);
1609 private static String selectHapInApp(String appPath, List<String> selectedHaps, String tempDir,
1613 copyHapAndHspFromApp(appPath, selectedHapsInApp, selectedHaps, tempDir);
1628 packagePair.put(hapName, readModlueNameFromHap(tempDir + File.separator + hapName));
1642 String tempDir) throws BundleException {
1662 // copy selectedHap to tempDir
1663 file = new File(tempDir + File.separator + zipEntry.getName());
1713 * @param tempDir is the path of temp directory
1717 private static String disposeHap(Utility utility, List<String> seletedHaps, String tempDir,
1731 // copy hap to tempDir
1732 FileUtils.copyFile(hapFile, new File((tempDir +File.separator + hapFile.getName())));
3172 Path tempDir = null;
3175 tempDir = Files.createTempDirectory(Paths.get(utility.getOutPath()), "temp");
3177 unpackHap(hapPath, tempDir.toAbsolutePath().toString());
3180 tempDir.toAbsolutePath() + LINUX_FILE_SEPARATOR + MODULE_JSON);
3182 tempDir.toAbsolutePath() + LINUX_FILE_SEPARATOR + CONFIG_JSON);
3184 tempDir.toAbsolutePath() + LINUX_FILE_SEPARATOR + PACKINFO_NAME);
3191 String moduleJsonPath = tempDir.resolve(MODULE_JSON).toString();
3194 String configJsonPath = tempDir.resolve(CONFIG_JSON).toString();
3201 String packInfoPath = tempDir.resolve(PACKINFO_NAME).toString();
3210 compressDirToHap(tempDir, modifiedHapPath);
3214 if (tempDir != null) {
3215 deleteDirectory(tempDir.toFile());