jpackage and macOS Catalina notarization

James Elliott james at deepsymmetry.org
Wed Jan 15 19:05:07 UTC 2020


[Whoops, it seems that this list strips out image attachments, so my first attempt to send this message was pretty useless. Trying again, after uploading the screenshot to my web server so I can link to it instead.]

Ok, thanks for clarifying that, I will drop my expectations for Catalina happiness for the moment, and perhaps can help make things work better when I have some time. Is there a pointer at how one gets vetted for submitting pull requests? Or I could just look at the source and post ideas here if that is better.

For now, here is what a jpackage-created disk image looks like when I open it in Catalina: https://deepsymmetry.org/images/jpackage_dmg_screenshot.png

The command that generates this is:
https://github.com/Deep-Symmetry/beat-link-trigger/blob/master/.github/scripts/build_dmg.zsh#L37-L42 <https://github.com/Deep-Symmetry/beat-link-trigger/blob/master/.github/scripts/build_dmg.zsh#L37-L42>

There are no errors reported during the build

Cheers,

	-James

> Date: Wed, 15 Jan 2020 14:54:55 +0100
> From: Michael Paus <mp at jugs.org <mailto:mp at jugs.org>>
> To: core-libs-dev at openjdk.java.net <mailto:core-libs-dev at openjdk.java.net>
> Subject: Re: jpackage and macOS Catalina notarization
> Message-ID: <84d90e7b-fbc8-4be5-09a2-56457edf4e23 at jugs.org <mailto:84d90e7b-fbc8-4be5-09a2-56457edf4e23 at jugs.org>>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
>> I also notice that the background image and Applications folder alias that are supposed to be in the disk image don?t seem to work in Catalina, so I may give up on having jpackage create my disk images as well, and do that using native tools, until that can be fixed. (I realize it is in early access still, and hope these issues are being worked on.)
> 
> What exactly is wrong with the background image? Were there any build
> errors reported during packaging?
> 
> The creation of the disk image is done via some script and you can tell
> jpackage via the
> option --temp <some empty dir> to dump that into a temporary folder. You
> can modify it
> and place it into another folder which you tell jpackage via
> --resource-dir <some dir with the modified script>
> Maybe you can fix your issue that way or at least you can find out what
> the problem is.
> 
> I am still on the previous version of macOS until all these Catalina
> issues are sorted out.
> Java/JavaFX on Catalina is a mess right now.



More information about the core-libs-dev mailing list