-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create dmg package on macOS using Kotlin #98
Comments
you should check your dependencies, and btw: this plugin isn't JDK9 compatible yet |
I'll try it with JDK8 then. |
@adam-arold any progress? meanwhile you want to try EDIT: maybe this is something related to the way how the "maven"-shadowing process is working in gradle.... |
No progress yet, I started working on something else but I'll come back to this soon. |
ping @adam-arold |
Hi @adam-arold, just FYI, I was able to create a
PS: Have you tried wiping out your system temp folders? I had a similar problem whereby it got stuck with a failing configuration and |
Hi @marco-primiceri, can you share your code in a gist? |
Sure @adam-arold ( you meant the gradle code right?) here it is: |
Great thanks! I'll try this out next week! |
To sum up: I suspect the way of the shadow-plugin is in conflict here, it's nothing regarding the kotlin-plugin itself, because this gradle-plugin works on the generated jar-file. Please consider to NOT use some uber-jar, because there is no need to put everything into one file when dealing with application-bundles. @adam-arold Please give some feedback if you got the time to check. I'm back on my "every day a bit for the javafx-*-plugin-projects"-work, so I intend to close some issues the next days. @marco-primiceri thanks for your valuable feedback, thinking about this project being used by a lot of people makes me very happy (especially when realizing, that it seems that I filled some gap for the devs) |
Well, thanks to you Danny, your plugin is awesome! Cheers, |
I'm trying to build a
dmg
package from my JavaFx project (which contains a single button ATM).My configuration is the following:
This is the output of running
gradle jfxNative
:My observations:
alternativePathToJarFile
(in theory)./var/folders/sg/z29vgx592s78q564nytqyd880000gn/T/fxbundler17757865355289544977/images/image-9350623328558951349/test.app/Contents/PlugIns/Java.runtime/Contents/Home
kotlin-stdlib-jre7-1.2.10.jar
? I don't use jre7.If I go to the
build/jfx
dir after runningjfxNative
I can see anapp
dir which contains aproject-jfx.jar
but this file does not have the dependencies which I have added with shadow to the jar file which I supplied as a parameter withalternativePathToJarFile
. What is the reason for this?The
native
folder is empty and there is no.dmg
file.What am I doing wrong?
The text was updated successfully, but these errors were encountered: