This document describes how to build the Dashboard as Java Webstart.
Java Webstart provides the possibilty to deploy a Java standalone application over a network.
It ensures the most current version of the application and offers the same experience as the standalone application does (for more information see java.sun.com)
In the following, the process how to created and deploy Dashboard as Java Webstart is described.
This lets the web server know how to handle the jnlp file correctly. If this entry has not been in your mime.types please restart your webserver.application/x-java-jnlp-file jnlp
For read-only, use an anonymous access::ext:email@example.com:/home/repository/moby
In both cases, you are interested in module moby-live/Java.cvs -d :pserver:firstname.lastname@example.org:/home/repository/moby
By the way, the best CVS client for Windows I know is CVS Tortoise.
During the process some information is required which will be described here in detail.ant dashboard-webstart
The first thing you will see is that you are presented some general information about what is happening now. Just press RETURN after you have read it.
The next interaction you have to do is to give a path to the keystore....
In case you have no idea what this means, you will get the information shortly. In case you know what it is AND you already have a valid keystore please enter the path to this keystore. Dashboard-webstart will then use the existing keystore (but remember your password then).
So what is that keystore ?The Dashboard Webstart requires full access to ones harddrive (to cache the ontologies), therefore you have to sign the jars which the application needs. For this signing process you need a key stored in a keystore. This ant task creates a new key called dashboard and puts it into the keystore you enter.
Creating a keystoreIf you entered a keystore which does not exists, the process will ask you several information about who you are and where you from.
Using an existing keystoreIf you already have a keystore you only have to provide the password of the keystore and if you want a password for the key.
In either of the cases the jars will be signed now...
Location of the Webstart applicationAfter the signing you have to enter the URL at which the Webstart application will be found (like http://you.domain.com/dashboard).
Packing things togetherAfter you entered all this information a tar.gz file is created and can be found at moby-live/Java/docs/dist/. Copy this file into the directory you entered just before on your webserver and unpack it there.
org.biomoby.service.dashboard.GeneratorPanelso that it looks like
#org.biomoby.service.dashboard.GeneratorPanelOf course you can also comment out other panels and therefore individualise your Dashboard Webstart application.