view webstart-package/src/jnlp/template.vm @ 39:3201f93801d0

add a module that generates a webstart package
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 09 Oct 2011 08:15:11 +0200
parents
children
line wrap: on
line source

<?xml version="1.0" encoding="ISO-8859-1"?>
<jnlp codebase="http://xanthippe.dyndns.org/ConflictEditor" href="$outputFile">
    <information>
        <title>Conflict Editor</title>
        <vendor>Codedo.de</vendor>
        <homepage href="http://xanthippe.dyndns.org/ConflictEditor"/>
        <description>Confict Editor</description>
        <description kind="short">Editor for couchdb conflicts</description>

        <!-- Allow starting the app without existing internet connection -->
        <offline-allowed/>
    </information>

    <!-- The data is stored on the client using the java.util.prefs.Preferences API.
         Since this is protected by a SecurityManager and there's no convenient way
         to store data on the client in a WebStart conforming way, request all permissions
         from user and stick with the Preferences API. -->
    <security>
        <all-permissions/>
    </security>

    <resources>
        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
        $dependencies
    </resources>

    <application-desc main-class="$mainClass"/>
</jnlp>