Re: bug jpackage in JDK 15

2021-01-30 Thread Michael Hall
> On Jan 29, 2021, at 7:37 PM, Michael Hall wrote: > > > >> On Jan 26, 2021, at 7:16 PM, Michael Hall > > wrote: >> >>> >>> >>> When I open the built dmg there is an application icon, a drag to >>> indicating arrow, but no application folder icon as the drag

Re: bug jpackage in JDK 15

2021-01-29 Thread Michael Hall
> On Jan 26, 2021, at 7:16 PM, Michael Hall wrote: > >> >> >> When I open the built dmg there is an application icon, a drag to indicating >> arrow, but no application folder icon as the drag target. >> >> Possibly related… >> >> Running [osascript, >>

Re: bug jpackage in JDK 15

2021-01-26 Thread Michael Hall
> > When I open the built dmg there is an application icon, a drag to indicating > arrow, but no application folder icon as the drag target. > > Possibly related… > > Running [osascript, >

Re: bug jpackage in JDK 15

2021-01-25 Thread Andy Herrick
On 1/24/2021 9:27 AM, Michael Hall wrote: /usr/libexec/java_home -v 14 --exec jpackage --version WARNING: Using incubator modules: jdk.incubator.jpackage 14.0.2 If of interest to anyone I still haven’t figured out signing. It errored giving some indication that the JDK had already been

Re: bug jpackage in JDK 15

2021-01-24 Thread Andy Herrick
I can reproduce with simple app using current JDK17 repository. I have files bug https://bugs.openjdk.java.net/browse/JDK-8260335 and will look into this week /Andy On 1/22/2021 2:31 PM, Brian Schlining wrote: Hi everyone, I'm running into a bug with jpackage. I have a mac app that builds

Re: bug jpackage in JDK 15

2021-01-24 Thread Andy Herrick
Can you try with ea version of JDK16 from https://download.java.net/java/early_access/alpine/32/binaries/openjdk-16-ea+32_linux-x64-musl_bin.tar.gz ? /Andy On 1/24/2021 1:46 AM, Brian

Re: bug jpackage in JDK 15

2021-01-24 Thread Michael Hall
> On Jan 24, 2021, at 7:37 AM, Michael Hall wrote: > > > --name 'VARS Annotation’ > > You are using a name with an embedded blank but that didn’t seem to cause me > any problems. > > I didn’t recreate, maybe if I get a chance I’ll try to see if anything else > in your invocation seems

Re: bug jpackage in JDK 15

2021-01-24 Thread Michael Hall
--name 'VARS Annotation’ You are using a name with an embedded blank but that didn’t seem to cause me any problems. I didn’t recreate, maybe if I get a chance I’ll try to see if anything else in your invocation seems to trigger what you’re seeing.

Re: bug jpackage in JDK 15

2021-01-23 Thread Brian Schlining
In case it's helpful,I'm using a gradle plugin, https://badass-jlink-plugin.beryx.org, to generate the jpackage command. Here's the full jpackage command that's created and used.: /Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home/bin/jpackage --type app-image --dest

Re: bug jpackage in JDK 15

2021-01-23 Thread Michael Hall
> On Jan 23, 2021, at 7:07 PM, Michael Hall wrote: > > Also it seems... > --add-modules java.desktop,java.prefs,java.se \ > > Is no longer an option? > —help doesn’t show it and I end up with… > java-options=--module-path > > In the .cfg Sorry, checked again and that is

Re: bug jpackage in JDK 15

2021-01-23 Thread Michael Hall
> On Jan 23, 2021, at 7:07 PM, Michael Hall wrote: > > > >> On Jan 23, 2021, at 6:02 AM, Michael Hall wrote: >> >> >>> >>> "[...]/VARS Annotation.app/Contents/Contents/app/VARS Annotation.cfg" # >>> JDK15 >>> "[...]/VARS Annotation.app/Contents/app/VARS Annotation.cfg" # JDK14 >>> >>

Re: bug jpackage in JDK 15

2021-01-23 Thread Michael Hall
> On Jan 23, 2021, at 6:02 AM, Michael Hall wrote: > > >> >> "[...]/VARS Annotation.app/Contents/Contents/app/VARS Annotation.cfg" # >> JDK15 >> "[...]/VARS Annotation.app/Contents/app/VARS Annotation.cfg" # JDK14 >> > > Any chance the embedded blank in the app name is throwing something

Re: bug jpackage in JDK 15

2021-01-23 Thread Michael Hall
> > "[...]/VARS Annotation.app/Contents/Contents/app/VARS Annotation.cfg" # > JDK15 > "[...]/VARS Annotation.app/Contents/app/VARS Annotation.cfg" # JDK14 > Any chance the embedded blank in the app name is throwing something off?

bug jpackage in JDK 15

2021-01-23 Thread Brian Schlining
Hi everyone, I'm running into a bug with jpackage. I have a mac app that builds just fine using jdk14's jpackage. However, using jdk15's jpackage the built app doesn't run. The tl;dr is that the built executable from jdk15 throws in an extra "Contents" directory in one of its paths: e.g.