| How to show Splash Screen when using Java Web Start? [message #787546] |
Tue, 31 January 2012 12:51  |
Aaron L Messages: 17 Registered: November 2009 |
Junior Member |
|
|
I currently have an RCP application that displays a splash screen when run. This works fine when my application is launched through the Eclipse IDE or when my product is exported and run.
However, when I create and export a deployable feature that includes my product and the equinox launcher for launching via Java Web Start, my splash screen does not show.
In my main JNLP I have included the following sections:
<application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">
<argument>-showsplash</argument>
</application-desc>
<resources>
<jar href="plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar"/>
<extension name="My Feature" href="features/myFeature.jnlp"/>
<property name="osgi.instance.area" value="@user.home/myApp"/>
<property name="osgi.install.area" value="@user.home/myApp/osgi"/>
<property name="osgi.configuration.area" value="@user.home/myApp"/>
<property name="osgi.splashPath" value="platform:/base/plugins/<my jar that contains splash.bmp>"/>
<property name="eclipse.product" value="<my product id>"/>
</resources>
When launching my application using Java Web Start, it opens and runs fine but I don't get the splash screen to show up when it is starting.
I am using the launcher included with Eclipse Helios SR2 Build id: 20110218-0911.
Are there some other tags I am missing or is this a bug?
|
|
|
| Re: How to show Splash Screen when using Java Web Start? [message #788283 is a reply to message #787546] |
Wed, 01 February 2012 10:52   |
|
Hi Aaron,
are you sure you have the correct path in the osgi.splashPath attribute?
<property name="osgi.splashPath" value="platform:/base/plugins/<my jar that contains splash.bmp>"/>
My splash is working right on Windows 7 64b, I also have eclipse.product and osgi.sharedConfiguration.area on my jnlp, try both of them and also allows all permissions to the jnlp...
|
|
|
|
|
| Re: How to show Splash Screen when using Java Web Start? [message #797713 is a reply to message #797525] |
Mon, 13 February 2012 15:40  |
Aaron L Messages: 17 Registered: November 2009 |
Junior Member |
|
|
I haven't been able to get my splash screen working and have tried pretty much all of the examples I have found on the web, but since you are having success with Eclipse Indigo, I will experiment with that instead of Helios. Maybe there was a fix in Helios that I overlooked.
Thanks for your help.
|
|
|
Powered by
FUDForum. Page generated in 0.02178 seconds