Jpackage Mac entitlements
Andy Herrick
andy.herrick at oracle.com
Thu Apr 22 12:41:14 UTC 2021
On 4/21/2021 6:15 PM, Michael Hall wrote:
> Reverted to Jdk 16 and temporarily couldn’t figure out why AppleScript wasn’t working again.
>
> I needed to provide an entitlement. At jpackage 16 I found I needed to do this differently with a <app.name>.entitlements file in the resources directory, as I noticed in the verbose command output.
>
> I had previously noticed that jpackage 17 now includes a parameter to provide this.
>
> Will both options continue to be supported, resource dir and parm, or will parm become the only supported way at or after 17?
Yes, if --mac-entitlement options exists, it will use it, otherwise ,
the previous behavior is maintained, the default resource
entitlements.plist in the source code will be used unless overridden by
<app name>.entitlements in the resource directory.
/Andy
More information about the core-libs-dev
mailing list