yes - this is a late regression in EA 4 which will shortly be remedied .
The option --file-associations, and all of the mac specific options,
need to be valid in create-image mode on MAC.
see: https://bugs.openjdk.java.net/browse/JDK-8221256
/Andy
On 3/26/2019 10:55 AM, Michael Hall wrote:
On Mar 19, 2019, at 11:17 AM, Andy Herrick <[email protected]
<mailto:[email protected]>> wrote:
The fourth EA build (Build 30) of jpackage tool is available at
https://jdk.java.net/jpackage/
Note this build contains significant Command Line Interface changes.
Issues addressed since EA 3 (build 17):
JDK-8219678 CLI changes in jpackage
I just tried re-building my OS X app with this version - Update 4.
I am assuming that —overwrite is no longer an option because it is now
the default only choice?
This one I’m not sure I’m understanding…
jdk.jpackage.internal.PackagerException: Error: Option
[--mac-bundle-identifier] is not valid in create-image mode.
I had added this because the default generated bundle identifier at
the time didn’t seem the best. It was IIRC the same as the application
name or something one level.
My understanding is sort of best practice is to use a url or reverse
url type id.
But shouldn’t there be some way when creating the OS X application
image to indicate this?
Bundle identifiers
https://stackoverflow.com/questions/40619639/os-x-bundle-identifier-name-best-practice-in-this-situation
https://discussions.apple.com/thread/1626954