Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Since J2SE 7 it is possible to create a JNLP file without "codebase" attribute in which case the Java Web Start software assumes that the codebase is relative to the web page from which the Java Web Start application is launched. Griffon compiler should not add a "codebase" attribute to the generated JNLP file if none is specified in BuildConfig.groovy. Reference to the Oracle documentation is below.
http://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/deployingWithoutCodebase.html
Workaround 1: edit the templates found in $apphome/griffon-app/conf/webstart to remove the codebase settings.
Workaround 2: create an archetype that provides JDK7 specific templates