Ability to sign additional .jnlp files during JWS packaging
Posted: Wed Feb 01, 2012 10:52 am
I was able to follow the JWS install setup directions (http://www.oxygenxml.com/doc/ug-editor/ ... aller.html), and with a few tweaks, I was able to get it to work with maven. As part of my install, I created a second oxygen.jnlp file (oxygenBeta.jnlp).
oxygen.jnlp's jnlp codebase attribute points to serverA:
<jnlp codebase="http://serverA.com/oxygen/1.0-SNAPSHOT/ ... /oxygenJWS" href="oxygen.jnlp">
while oxygenBeta.jnlp codebase attribute points to serverB:
<jnlp codebase="http://serverB.com/oxygen/1.0-SNAPSHOT/ ... /oxygenJWS" href="oxygenBeta.jnlp">
However oxygenBeta.jnlp will not work because the JWS setup process only signs oxygen.jnlp. It would be nice if there was a packager.properties property that allowed you to indicate all the .jnlp files that needs to be signed as part of the packaging process.
In this way, you only have to run through the JWS set process once, and then put the install files on different servers and just point your index.html to the respective .jnlp file.
oxygen.jnlp's jnlp codebase attribute points to serverA:
<jnlp codebase="http://serverA.com/oxygen/1.0-SNAPSHOT/ ... /oxygenJWS" href="oxygen.jnlp">
while oxygenBeta.jnlp codebase attribute points to serverB:
<jnlp codebase="http://serverB.com/oxygen/1.0-SNAPSHOT/ ... /oxygenJWS" href="oxygenBeta.jnlp">
However oxygenBeta.jnlp will not work because the JWS setup process only signs oxygen.jnlp. It would be nice if there was a packager.properties property that allowed you to indicate all the .jnlp files that needs to be signed as part of the packaging process.
In this way, you only have to run through the JWS set process once, and then put the install files on different servers and just point your index.html to the respective .jnlp file.