Skip to main content



      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 16:35 Go to next message
Eclipse UserFriend
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 16:09 Go to previous messageGo to next message
Eclipse UserFriend
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 17:39 Go to previous messageGo to next message
Eclipse UserFriend
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 07:16 Go to previous messageGo to next message
Eclipse UserFriend
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] Tue, 04 October 2005 22:27 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 06 October 2005 22:54 Go to previous messageGo to next message
Eclipse UserFriend
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 13:38 Go to previous messageGo to next message
Eclipse UserFriend
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 13:40 Go to previous message
Eclipse UserFriend
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: Tue Jul 08 20:11:50 EDT 2025

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

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

Back to the top