Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » multiple Splash in a single bundle, is it possible ?
multiple Splash in a single bundle, is it possible ? [message #890151] Thu, 21 June 2012 09:49 Go to next message
Sébastien  Gandon is currently offline Sébastien GandonFriend
Messages: 182
Registered: July 2009
Senior Member
Hello,
I have been searching quite a while and I can find a way to specify in my config.ini a splash path that is not just a bundle path but resolve to a bundle subfolder.
the osgi.splashPath is supposed to take URLs.but when using the platform protocol
osgi.splashPath=platform\:/base/plugins/my.bundle/my_folder

this does not resolve.
I know the launcher is expecting to find a splash.bmp but I was hoping I could place the splash.bmp in some subfolder of the bundle because I need many splashes in the same bundle. But it seems not.
It seems that bug 263280 is resolving this problem, but I can't get it to work.
looking at the patch, it seems that I should be using the following URL
osgi.splashPath=reference\:file\:plugins/my.bundle/my_folder

but it does not work ether.
I have tried many combinations without luck.
Can some help me please?
Thanks

PS : I do not want to use osgi.splashLocation cause it expects an absolute path.
Re: multiple Splash in a single bundle, is it possible ? [message #890439 is a reply to message #890151] Fri, 22 June 2012 09:53 Go to previous messageGo to next message
Libor Jelinek is currently offline Libor JelinekFriend
Messages: 143
Registered: January 2012
Location: Prague, Czech Rep.
Senior Member

Hello Sebastien,
firstly I'd like to ask what are you trying to achieve? Why to have
multiple splashes?

There is proven way to do this using NLS (National Language Support, or
aka I18N). Slashscreen language mutations are placed in bundle (or
bundle fragment) in folder NLS/cs_CZ for Czech, NLS/fr_FR for French etc.

Libor

On 06/21/2012 11:49 AM, Sébastien Gandon wrote:
> Hello,
> I have been searching quite a while and I can find a way to specify in
> my config.ini a splash path that is not just a bundle path but resolve
> to a bundle subfolder.
> the osgi.splashPath is supposed to take URLs.but when using the platform
> protocol
> osgi.splashPath=platform\:/base/plugins/my.bundle/my_folder
> this does not resolve.
> I know the launcher is expecting to find a splash.bmp but I was hoping I
> could place the splash.bmp in some subfolder of the bundle because I
> need many splashes in the same bundle. But it seems not.
> It seems that bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=263280
> is resolving this problem, but I can't get it to work.
> looking at the patch, it seems that I should be using the following URL
> osgi.splashPath=reference\:file\:plugins/my.bundle/my_folder
> but it does not work ether.
> I have tried many combinations without luck.
> Can some help me please?
> Thanks
>
> PS : I do not want to use osgi.splashLocation cause it expects an
> absolute path.
Re: multiple Splash in a single bundle, is it possible ? [message #891553 is a reply to message #890439] Mon, 25 June 2012 08:27 Go to previous message
Sébastien  Gandon is currently offline Sébastien GandonFriend
Messages: 182
Registered: July 2009
Senior Member
Hello and thank for this first reply.
Here at Talend, we have a single set of bundle use for 30 different products. We have implemented our own configurator which installs the bundles according to the licence.
I do not want to expand to much on that but we get so many branding bundles that we would want to have only one generic bundle.
We have already manage to make the application generic and the many items like about message, app title and so on are generic but splash is a real hassle.
The splash path belongs to the licence and we update the configuration file according to our licence file but we really would like the splash to belong to one single bundle.
This is not a matter of language but product branding.

I hope this is clear enought.

SeB.

[Updated on: Mon, 25 June 2012 08:46]

Report message to a moderator

Previous Topic:Eqinox HttpService only supports servlet 2.1 specification.
Next Topic:DS ignores service.ranking?
Goto Forum:
  


Current Time: Thu Dec 18 21:45:32 GMT 2014

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

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