Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use an absolute path for the extract root when exploding jars
This should fix an issue on Windows where jars exploded to a temporary
directory on a separate drive partition from the one the app is
running on results in being unable to locate the jars.
  • Loading branch information
bbrowning committed Apr 14, 2015
1 parent 6dbf4ed commit e428a13
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -93,7 +93,7 @@ protected void extractJar() throws Exception {
return;
}
String[] extractPaths = Utils.classpathStringToArray(properties.getProperty("extract_paths"));
extractRoot = Files.createTempDirectory("wunderboss").toFile().getPath();
extractRoot = Files.createTempDirectory("wunderboss").toFile().getAbsolutePath();

Runtime.getRuntime().addShutdownHook(new Thread() {
@Override
Expand Down

0 comments on commit e428a13

Please sign in to comment.