This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine 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 JavaScript Promises Essentials this week in the JavaScript 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Signing of a dynamically created JNLP file