jlink with an existing output directory

Fabian Meumertzheim fabian at buildbuddy.io
Fri Apr 12 13:06:54 UTC 2024


Hi,

I noticed that jlink fails if the directory specified with --output already
exists. This makes it less convenient to use the tool with build systems
that pre-create output directories and expect build actions to fill them
(e.g. Bazel).

Would you accept a change that loosens the check to allow for the directory
to exist as long as it is empty?

Fabian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jigsaw-dev/attachments/20240412/d7eaab8f/attachment.htm>


More information about the jigsaw-dev mailing list