Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Some questions about java web start
icon5.gif  Some questions about java web start [message #794916] Thu, 09 February 2012 21:31
Josh Hester is currently offline Josh HesterFriend
Messages: 30
Registered: July 2009
I've followed the tutorial here for exporting our product to start via java web start:

We already have a feature that includes our plugins and various features, and we also already have a .product file that specifies which feature to start along with a few start levels and autostart properties.

I'm pretty certain that we are including all necessary plugins and features in order to start the application from outside of eclipse because we already generate runnable products with a buckminster build.

When I try to execute my jnlp file, I get a message that my .product file can not be found. From my understanding, either it actually can not find the .product file, or some bundles may be failing to load.

So here are my questions,

1) Do I need to specify which feature contains my .product file?
2) Do I also need to specify which plugins to start up within my root level jnlp file? I wouldn't think so since they're specified in my .product file and that is referenced within the jnlp file.

Any ideas on this?

Here is my jnlp file for reference:

<?xml version="1.0" encoding="UTF-8"?>
    href="product.jnlp"> <!-- URL to the site containing the jnlp application. It should match the value used on  export. Href, the name of this file -->
    <!-- user readable name of the application -->
    <!-- vendor name -->
    <!-- vendor homepage --> 
    <homepage href="My company website" /> 
    <!-- product description -->
    <icon kind="splash" href="splash.gif"/>
  <!--request all permissions from the application. This does not change-->
  <!-- The name of the main class to execute. This does not change-->
  <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
    <!-- Reference to the launcher jar. The version segment must be updated to the version being used-->
    <jar href="plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar"/>
    <!-- Reference to all the plugins and features constituting the application -->
    <!-- Here we are referring to the wrapper feature since it transitively refers to all the other plug-ins  necessary -->
        name="Wrapper feature"
    <!-- Information usually specified in the config.ini -->
    <!-- The id of the product to run, like found in the overview page of the product editor -->

  <!-- Indicate on a platform basis which JRE to use --> 
  <resources os="Mac">
    <j2se version="1.6+" java-vm-args="-XstartOnFirstThread"/>
  <resources os="Windows">
    <j2se version="1.6+"/>
  <resources os="Linux">
    <j2se version="1.6+"/>
Previous Topic:Problems start own Bundle in Eclipse
Next Topic:SWT and Equinox product export problems
Goto Forum:

Current Time: Mon Dec 06 00:38:02 GMT 2021

Powered by FUDForum. Page generated in 0.01958 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top