This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Signing of a dynamically created JNLP file
 
Similar Threads
Run JAR file in Applet
Two applications One jnlp file
Dynamic JNLP not working with JBoss?
Using Server Installed JRE For JNLP
Web start run the Jar but doesn't work No action Happened ?