[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Replacing the splash image (via an update)

Hi Andrew,

Thanks for the reply.

I am already using both -showsplash in the eclipse.ini and osgi.splashPath in the config.ini:
osgi.splashPath=platform:/base/plugins/com.company.product.brand


I have found that after the update, it is still showing the original splash image. If I rename the plugin containing the original image, then no splash is shown, even though there is a newer version of the plugin installed.

Something, somewhere has a hard-coded link to the exact version number of the branding plugin - but I can't find it... Any further ideas?

Thanks,

Andrew Niefer wrote:
How are you specifying the splash bmp to use?
-showsplash in the eclipse.ini file?
osgi.splashLocation in config.ini ?
osgi.splashPath in config.ini?

Both of -showsplash and osgi.splashPathwill do a search in the plugins folder disk for the given bundle and will choose the highest version.
(-showsplash org.eclipse.platform or osgi.splashPath=base:/plugins/org.eclipse.platform).


-showplash with a full path, or osgi.splashLocation point directly to the bmp.

If you are using the old update which is unable to update the eclipse.ini or config.ini, the way to get an updated splash screen is to make sure you use splashPath or -showsplash to do a search.
Even if you are using p2, it is easiest to do it this way, unless you craft p2 metadata to adjust the splash location directly.


It should not be necessary to clean the cache, as the bitmap is only saved there after the location has been chosen and if we need to extract the bitmap out of a jar.

-Andrew


Derek wrote:
Hi,

In our application, we provide our own splash image. This is working fine. We are now wish to update the splash image via the update mechanism.

The splash image is located in our branding plugin, and we successfully update the plugin (with the new image), but when Eclipse restarts, the old image is still shown.

I noticed the image seemed to be cached in eclipse/configuration/org.eclipse.equinox.launcher/com.xxx.branding.nnnnn/splash.bmp so I deleted it - but still the old image is loaded.

Any ideas how I can replace it?

Config:
Eclipse 3.3.1
Windows XP
Java 1.6


Thanks


--
Derek