Serban Iordache

Results 113 comments of Serban Iordache

Great! I'm just a bit surprised that you needed to add this piece of code.

My workaround for this problem is to call the `main` method of the class that extends `Application` from a [Launcher](https://github.com/beryx-gist/badass-runtime-example-javafx/blob/master/src/main/java/org/example/hellofx/Launcher.java) class. (I am aware that this is not the right...

Have a look at this project: https://github.com/PaulWinstone/demoModule . There are several things to do, but the most important is [this one](https://github.com/PaulWinstone/demoModule/blob/2745ab41c8b5a5532b424a2babd0fb5c8c402ab1/demoProject/build.gradle#L104-L111).

I would gladly add this feature to the plugin, but this is not possible as long as `jpackage` doesn't support it. A few months ago, @lenborje [requested such a feature](https://www.mail-archive.com/[email protected]/msg58481.html)....

You can use jlink to generate images for other platforms (these are the artifacts created by the `runtime` task in the build/images directory), but you cannot use jpackage to produce...

Yes, that's the correct way now. I need to update the samples.

I think that your workaround is the proper solution. Using ``` tasks.withType(RuntimeTask).configureEach { javaCompiler = javaToolchains.compilerFor { languageVersion = JavaLanguageVersion.of(16) vendor = JvmVendorSpec.ADOPTOPENJDK } } ``` doesn't work because `javaCompiler`...

jpackage doesn't accept the `icns` format. You can use an [online converter](https://www.coolutils.com/online/ICNS-to-ICO#) to create a proper `.ico` file and use it for your application.

I think you're right. The icns format should be supported on OSX. I don't have a Mac and I only tested it on Windows, where I got the warning message:...

@rrva See #148. Configuring `--resource-dir` probably also solves your problem.