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 |
J 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 |
Mike Sorokowski 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 |
J 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 #437923 is a reply to message #437542] |
Fri, 07 October 2005 02:54 |
Boris Bokowski 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 #437933 is a reply to message #437923] |
Fri, 07 October 2005 17:40 |
J 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
>
>
|
|
|
Goto Forum:
Current Time: Wed Dec 04 14:57:00 GMT 2024
Powered by FUDForum. Page generated in 0.06287 seconds
|