Generated JNLP and HTML files (original) (raw)
Generated JNLP and HTML files - mysterious values
Daniel Zwolenski zonski at gmail.com
Fri Nov 16 02:15:35 PST 2012
- Previous message: JavaFX performance for complex visualisations
- Next message: Generated JNLP and HTML files - mysterious values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When the standard JFX packaging tool generates a JNLP file it includes:
<jfx:javafx-runtime version="2.2+" href="
http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp "/>
I don't understand why there is a windows specific URL in the JNLP file - isn't a JNLP file OS independent?
Also, the generated HTML file to launch the JNLP has this:
dtjava.launch( {
url : 'hello-javafx-maven-example-1.0-SNAPSHOT.jnlp',
jnlp_content :
'PD94bWwgdmVyc2lvbj0iMS4wIi...whole-lot-more-base64-style-data ....
What's the 'jnlp_content' thing for? From the code it looks like a base64 encoding of the JNLP file. Why is this needed at all, and what's the url doing in this case?
Any pointers appreciated.
Basic JNLP bundling for the Maven plugin is done except for this stuff (and security/signing).
- Previous message: JavaFX performance for complex visualisations
- Next message: Generated JNLP and HTML files - mysterious values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]