Skip to content

Instantly share code, notes, and snippets.

@cemartins
Last active August 29, 2015 14:07
Show Gist options
  • Save cemartins/f2943bb854487ec7e646 to your computer and use it in GitHub Desktop.
Save cemartins/f2943bb854487ec7e646 to your computer and use it in GitHub Desktop.
webstart-maven-plugin jnlp template
TS: ${buildTS}
<?xml version="1.0" encoding="$encoding"?>
<jnlp
spec="$jnlpspec"
xmlns:jfx="http://javafx.com"
codebase="$$codebase"
href="$outputFile">
<information>
<title>Websocket JavaFX Test</title>
<vendor>Carlos Martins</vendor>
<homepage href="${homepage.url}"/>
<description>Small JavaFX application to demo websocket usage</description>
<offline-allowed>false</offline-allowed>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="${jdkVersion}"/>
<jfx:javafx-runtime version="8+"/>
$dependencies
#if($extensions)
$extensions
#end
</resources>
<jfx:javafx-desc width="512" height="320" main-class="$mainClass" name="Websocket JavaFX Test">
<fx:param name="server-url" value="$$context"/>
</jfx:javafx-desc>
</jnlp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment