Difference between revisions of "Nebula Examples Webstart"

From Eclipsepedia

Jump to: navigation, search
m (Edit JNLP)
Line 25: Line 25:
  
 
   Edit nebula.jnlp and set the right name for the equinox launcher (depends of your Eclipse version, look for this file in plugins directory)
 
   Edit nebula.jnlp and set the right name for the equinox launcher (depends of your Eclipse version, look for this file in plugins directory)
 
 
   <jar href="plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar" />
 
   <jar href="plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar" />
  

Revision as of 15:12, 27 March 2009

This page explains how to generate the Nebula Example application as Webstart

Contents

Get the sources

 features/org.eclipse.nebula.examples_feature
 features/org.eclipse.nebula.examples_webstart
 org.eclipse.swt.nebula.examples
 + all nebula widget projects

Create necessary files

 - Create keystore for signing the jars : keytool -genkey -alias nebulawebstart -keyalg RSA -keystore nebula.keystore

Generate Webstart

Export org.eclipse.nebula.examples_webstart from eclipse feature export wizard.

Select :

 - Destination
 - Package as individual jars
 - Sign the JAR archives (fill keystore informations)
 - Create JNLP manifest (fill site URL  site and JRE version : 1.4+)

Edit JNLP

 Edit nebula.jnlp and set the right name for the equinox launcher (depends of your Eclipse version, look for this file in plugins directory)
 <jar href="plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar" />

Publish Webstart

(You need to publish all files to the right site URL before testing.)

- Copy plugins, features, startup.jar and nebula.jnlp to the target site.
- Launch nebula.jnlp.

Known problems

 - This only generates a JNLP for one single platform