tschulte / gradle-jnlp-plugin

Gradle plugin to generate jnlp files, sign jars etc. for being able to start an application with Java Webstart
Apache License 2.0
20 stars 7 forks source link

JavaFX preloader support #39

Open danielferber opened 7 years ago

danielferber commented 7 years ago

I am wondering if it is possible create a JNLP file that specifies the JavaFX preloader class as described in http://docs.oracle.com/javafx/2/deployment/preloaders.htm#BABJDJDJ.

If I understand the specification corretly, the relevant JNLP entries are: <jar href="lib/MyPreloader.jar" size="2801" **download="progress"** /> And: <jfx:javafx-desc main-class="com.example.MyMainClass" **preloader-class="com.example.MyPreloaderClass"**/> It is supposed that MyPreloader.jarcontains com.example.MyPreloaderClass

I was able to generate a custom jfx:javafx-descinstead of default application-desc. But I could not figure out how to add download="progress" to the jar entry.

tschulte commented 7 years ago

Thank you for your question. I am rather busy at the moment. I will have a look at it next week.

mohlek commented 6 years ago

Any progress on this one?