tschulte/gradle-jnlp-plugin

JavaFX preloader support

danielferber opened this issue · 2 comments

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.jar contains com.example.MyPreloaderClass

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

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

Any progress on this one?