James Williams
LinkedInMastodonGithub

Griffon Gets Remote JNLP Extenstions

Tags: Griffon

One of the previously unimplemented features of Griffon was real support for remote JARs and JNLPs. Sure you could add them after the fact but it didn't really matter because calling run-webstart or run-applet would regenerated all the files anyway, destroying any changes you had made.

Griffon now has basic support for remote JARs and JNLPs. These are essential for avoiding the need to package libraries that have OS-specific implementations such as JOGL.

To add a remote JAR or JNLP, add the following closure under the griffon closure in Config.groovy:

extensions {
    jarUrls =  [ (jar urls here)]
    jnlpUrls = [ (jnlp urls here)]
}

Griffon takes this info and builds the appropriate applet embed code(both new school and old school) and webstart files with jnlp extensions. This has not been pushed into a release yet so if you want to try it out, you'll need to build from SVN.