RFR: 8356047: [macos] jpackage produces confusing post- and pre- installation PKG scripts

Alexander Matveev almatvee at openjdk.org
Wed May 28 21:42:50 UTC 2025


On Wed, 28 May 2025 20:00:20 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Why do we need empty scripts? It doesn't make sense. I'd remove them.

If we do not have empty scripts how user will override it?
https://docs.oracle.com/en/java/javase/24/jpackage/override-jpackage-resources.html#GUID-62412365-821D-4736-A20D-70F2D47136D8
>From our documentation we list such files with `--verbose` and placing them into Temp folder specified via `--temp`. For scripts we placing them under `Temp/scripts`. I am not sure how user will able to figure it out if we do not place template files under temp folder.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25510#issuecomment-2917680462


More information about the core-libs-dev mailing list