RFR: 8356218: [macos] Document --app-content [v2]
Alexander Matveev
almatvee at openjdk.org
Thu Aug 21 00:17:05 UTC 2025
On Tue, 19 Aug 2025 22:10:53 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
>> - Added following note for `--app-content` on macOS to help and man page: `The value should be a directory with the "Resources" subdirectory (or any other directory that is valid in the "Contents" directory of the application bundle). Otherwise, jpackage may produce invalid application bundle which may fail code signing and/or notarization.`
>> - Added warning if `--app-content` if it points to non-standard subdirectory in "Contents" directory.
>> - Added test to cover warning message.
>
> Alexander Matveev has updated the pull request incrementally with one additional commit since the last revision:
>
> 8356218: [macos] Document --app-content [v2]
8356218: [macos] Document --app-content [v3]
- Fixed latest review comments.
- Test moved from `ErrorTest` to `AppContentTest`.
- Added `setIgnoreExitCode()` to `JPackageCommand` to ignore exit code. Added test case may or may not fail depending on macOS version.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26848#issuecomment-3208513977
More information about the core-libs-dev
mailing list