wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes  Signing of a dynamically created JNLP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark " Signing of a dynamically created JNLP file" Watch " Signing of a dynamically created JNLP file" New topic
Author

Signing of a dynamically created JNLP file

Victor Lecavalier
Greenhorn

Joined: Sep 13, 2012
Posts: 2
My application is defined in a JNLP file and that file contains variables, replaced on the fly by a servlet.
Since we are now forced to include a copy of JNLP file into every JAR of our app (thank you, Oracle!), we must find a way to replace those variables with some kind of an asterisk, because at the moment of build/sign we do not know those values yet.

I found something called "APPLICATION_TEMPLATE.JNLP", however it only partially works for me.
For instance I am able to replace "codebase=${codebase}" with codebase="*", but I can NOT add a list of additional jars into my JNLP as per ${add.additional.jars} parameter, for example. Neither can I add something like this :



Is there a work around for this?
Thank you!
 
 
subject: Signing of a dynamically created JNLP file
 
Similar Threads
Web start run the Jar but doesn't work No action Happened ?
Run JAR file in Applet
Two applications One jnlp file
Dynamic JNLP not working with JBoss?
Using Server Installed JRE For JNLP