Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Splash works after export, but not from within IDE
Splash works after export, but not from within IDE [message #437542] Thu, 29 September 2005 20:35 Go to next message
J is currently offline JFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,
My RCP product (plug-in based, not feature based) defines
osgi.splashPath in my config.ini, and I have a splash.bmp in the root
directory of my plug-in. When I export the product and run it
standalone, the splash screen works as expected. When I run from the
Eclipse IDE, however, the splash screen does not show.

I've tried copying the splash.bmp to various directories - the eclipse
directory, the runtime directory, the directory that the config.ini is
loaded from, etc, without any luck.

I turned on tracing for org.eclipse.core.runtime, and it shows "Splash
location: null".

Does anyone have any idea why this might be happening, or pointers on
where to look next?

Thanks,
Josh
Re: Splash works after export, but not from within IDE [message #437741 is a reply to message #437542] Mon, 03 October 2005 20:09 Go to previous messageGo to next message
Mike Sorokowski is currently offline Mike SorokowskiFriend
Messages: 1
Registered: July 2009
Junior Member
Here's something to check before you run your product within the IDE...

In the Run configuration on the Main tab, ensure that 'Run a product' is
selected under the 'Program to Run' group, and make sure your product is
selected.

Regards,
Mike S.


J wrote:
> Hi,
> My RCP product (plug-in based, not feature based) defines
> osgi.splashPath in my config.ini, and I have a splash.bmp in the root
> directory of my plug-in. When I export the product and run it
> standalone, the splash screen works as expected. When I run from the
> Eclipse IDE, however, the splash screen does not show.
>
> I've tried copying the splash.bmp to various directories - the eclipse
> directory, the runtime directory, the directory that the config.ini is
> loaded from, etc, without any luck.
>
> I turned on tracing for org.eclipse.core.runtime, and it shows "Splash
> location: null".
>
> Does anyone have any idea why this might be happening, or pointers on
> where to look next?
>
> Thanks,
> Josh
Re: Splash works after export, but not from within IDE [message #437746 is a reply to message #437741] Mon, 03 October 2005 21:39 Go to previous messageGo to next message
J is currently offline JFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Mike,
Thanks - But, I am running the product - in fact, other branding aspects
such as the About dialog work perfectly.

Regards,
Josh

Mike Sorokowski wrote:
> Here's something to check before you run your product within the IDE...
>
> In the Run configuration on the Main tab, ensure that 'Run a product' is
> selected under the 'Program to Run' group, and make sure your product is
> selected.
>
> Regards,
> Mike S.
>
>
> J wrote:
>> Hi,
>> My RCP product (plug-in based, not feature based) defines
>> osgi.splashPath in my config.ini, and I have a splash.bmp in the root
>> directory of my plug-in. When I export the product and run it
>> standalone, the splash screen works as expected. When I run from the
>> Eclipse IDE, however, the splash screen does not show.
>>
>> I've tried copying the splash.bmp to various directories - the eclipse
>> directory, the runtime directory, the directory that the config.ini is
>> loaded from, etc, without any luck.
>>
>> I turned on tracing for org.eclipse.core.runtime, and it shows "Splash
>> location: null".
>>
>> Does anyone have any idea why this might be happening, or pointers on
>> where to look next?
>>
>> Thanks,
>> Josh
Re: Splash works after export, but not from within IDE [message #437758 is a reply to message #437746] Tue, 04 October 2005 11:16 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
It's possible this feature isn't implemented. It may be the Main launcher that is kicked off from the command line possibly handles the splash screen, and then fires up a second VM to load the Eclipse application. As a result, running from within the workbench, the splash screen isn't shown since it uses a slightly different launcher to bring it up.

I don't know that is what is happening, but it might be worth firing up a bug on http://bugs.eclipse.org with this issue.
Re: Splash works after export, but not from within IDE [message #437799 is a reply to message #437758] Wed, 05 October 2005 02:27 Go to previous messageGo to next message
Stephane  fournier is currently offline Stephane fournierFriend
Messages: 340
Registered: July 2009
Senior Member
Have a look at the RCP browser example. It works well even from IDE.

Alex Blewitt wrote:
> It's possible this feature isn't implemented. It may be the Main launcher that is kicked off from the command line possibly handles the splash screen, and then fires up a second VM to load the Eclipse application. As a result, running from within the workbench, the splash screen isn't shown since it uses a slightly different launcher to bring it up.
>
> I don't know that is what is happening, but it might be worth firing up a bug on http://bugs.eclipse.org with this issue.
Re: Splash works after export, but not from within IDE [message #437923 is a reply to message #437542] Fri, 07 October 2005 02:54 Go to previous messageGo to next message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 9
Registered: July 2009
Junior Member
Look at the command line that PDE generates (can be seen in the debug view
by right-clicking on the process). Could it be that PDE generates a
config.ini file, and that your config.ini is not being used?

Boris

"J" <snark@slunk.net> schrieb im Newsbeitrag
news:dhhj6k$u4h$1@news.eclipse.org...
> Hi,
> My RCP product (plug-in based, not feature based) defines osgi.splashPath
> in my config.ini, and I have a splash.bmp in the root directory of my
> plug-in. When I export the product and run it standalone, the splash
> screen works as expected. When I run from the Eclipse IDE, however, the
> splash screen does not show.
>
> I've tried copying the splash.bmp to various directories - the eclipse
> directory, the runtime directory, the directory that the config.ini is
> loaded from, etc, without any luck.
>
> I turned on tracing for org.eclipse.core.runtime, and it shows "Splash
> location: null".
>
> Does anyone have any idea why this might be happening, or pointers on
> where to look next?
>
> Thanks,
> Josh
Re: Splash works after export, but not from within IDE [message #437932 is a reply to message #437799] Fri, 07 October 2005 17:38 Go to previous messageGo to next message
J is currently offline JFriend
Messages: 7
Registered: July 2009
Junior Member
Great idea, thanks! Turns out I shouldn't have been trying to use my
own config.ini - as soon as I got rid of it and let the PDE generate
one, the splash screen worked fine.

Stéphane Fournier wrote:
> Have a look at the RCP browser example. It works well even from IDE.
>
> Alex Blewitt wrote:
>> It's possible this feature isn't implemented. It may be the Main
>> launcher that is kicked off from the command line possibly handles the
>> splash screen, and then fires up a second VM to load the Eclipse
>> application. As a result, running from within the workbench, the
>> splash screen isn't shown since it uses a slightly different launcher
>> to bring it up.
>>
>> I don't know that is what is happening, but it might be worth firing
>> up a bug on http://bugs.eclipse.org with this issue.
Re: Splash works after export, but not from within IDE [message #437933 is a reply to message #437923] Fri, 07 October 2005 17:40 Go to previous message
J is currently offline JFriend
Messages: 7
Registered: July 2009
Junior Member
Good idea, but actually it turned out to be the opposite - I was using
my own config.ini, with my own osgi.splashPath in it. As soon as I got
rid of that and let the PDE workbench generate the config.ini (which
upon investigation doesn't have osgi.splashPath in it at all), it worked
fine.

Thanks,
Josh

Boris Bokowski wrote:
> Look at the command line that PDE generates (can be seen in the debug view
> by right-clicking on the process). Could it be that PDE generates a
> config.ini file, and that your config.ini is not being used?
>
> Boris
>
> "J" <snark@slunk.net> schrieb im Newsbeitrag
> news:dhhj6k$u4h$1@news.eclipse.org...
>> Hi,
>> My RCP product (plug-in based, not feature based) defines osgi.splashPath
>> in my config.ini, and I have a splash.bmp in the root directory of my
>> plug-in. When I export the product and run it standalone, the splash
>> screen works as expected. When I run from the Eclipse IDE, however, the
>> splash screen does not show.
>>
>> I've tried copying the splash.bmp to various directories - the eclipse
>> directory, the runtime directory, the directory that the config.ini is
>> loaded from, etc, without any luck.
>>
>> I turned on tracing for org.eclipse.core.runtime, and it shows "Splash
>> location: null".
>>
>> Does anyone have any idea why this might be happening, or pointers on
>> where to look next?
>>
>> Thanks,
>> Josh
>
>
Previous Topic:Eclipse RCP Developer Wanted
Next Topic:SplashScreen doesn't display after I export RCP app.
Goto Forum:
  


Current Time: Wed Dec 04 14:57:00 GMT 2024

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

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

Back to the top