Skip to content

Commit

Permalink
[nativeImage] relativize input JARs. Fixes #623
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 26, 2021
1 parent 15147db commit ba7bb88
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -131,7 +131,7 @@ private Artifact nativeImage(Path assembleDirectory, Path graalPath, Set<Path> j
if (!jars.isEmpty()) {
cmd.arg("-cp")
.arg(jars.stream()
.map(Path::getFileName)
.map(path -> context.relativize(image.getParent(), path))
.map(Path::toString)
.collect(Collectors.joining(File.pathSeparator)));
}
Expand Down

0 comments on commit ba7bb88

Please sign in to comment.