RFR: 8351369: [macos] Use --install-dir option with DMG packaging

Alexander Matveev almatvee at openjdk.org
Fri May 30 01:45:41 UTC 2025


On Wed, 28 May 2025 23:01:30 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

>> If the installation directory doesn't exist, jpackage will try to create and delete it right after the DMG package is created.

> Is this absolutely necessary? Is there a better way?

Yes, there is better way. I just figure it out. AppleScript alias command cannot create links to non-existing locations, but shell `ln` command can create it. I updated script to use shell to create link. Most code I added is gone. Can you re-review it?

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

PR Comment: https://git.openjdk.org/jdk/pull/25481#issuecomment-2920992419


More information about the core-libs-dev mailing list