in harness/src/main/java/org/apache/geode/perftest/jvms/classpath/ClassPathCopier.java [61:80]
private File jarDir(File file) {
if (!file.isDirectory()) {
return file;
}
try {
File outputFile =
new File(System.getProperty("java.io.tmpdir"),
Math.abs(file.hashCode()) + "_" + file.getName() + ".jar");
outputFile.deleteOnExit();
JarUtil.jar(file, outputFile);
return outputFile;
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}