wiki:JnlpDeveloper

docx4all JNLP developer notes

Logging

Once docx4all fires up, it logs to the Java Console. To enable logging, open the Java Control Panel, click on Advanced, Debugging, and ensure Enable logging is checked.

Building

We built the JNLP using the  ant-jnlp-war task.

See our build.xml.

Note that your keystore has to be at .keystore, and that your storepass and keypass must be the same.

Also PDFRenderer.jar had some stuff in its manifest which keeps jarsigner from verifying it correctly. It reported [jw:jnlpwar] An error occurred during the task: java.lang.SecurityException?: invalid SHA1 signature file digest for com/sun/pdfview/FullScreenWindow$PickMe?.class To fix this, I edited the jar and removed the contents of the META-INF directory.