Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundles From Win to Linux(Eclipse-PlatformFilter)
Bundles From Win to Linux [message #720611] Tue, 30 August 2011 19:26 Go to next message
Raj  is currently offline Raj
Messages: 74
Registered: August 2011
Member
Hi

I have a bundle deployed in Windows tomcat and it has MANIFEST.MF which has

Eclipse-PlatformFilter: (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86))
and now i move this bundle to linux box and change it to

Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))


when i start the tomcat i get the error on the osgi console -- bunlde is not installable


Did u guys see this anytime...

Thanks
Raj
Re: Bundles From Win to Linux [message #720766 is a reply to message #720611] Wed, 31 August 2011 04:15 Go to previous messageGo to next message
Krzysztof Daniel is currently offline Krzysztof Daniel
Messages: 42
Registered: July 2009
Member
Raj,
it does not work that way. Windows bundle probably contains some windows
specific resources (dlls) and you cannot just change the platform
filters, because dlls will not be loaded anyway.

You need to find a linux version of your plugin and ensure that your
bundle can be really run under linux.

Regards,
Chris
Re: Bundles From Win to Linux [message #720891 is a reply to message #720766] Wed, 31 August 2011 08:47 Go to previous message
Thomas Watson is currently offline Thomas Watson
Messages: 390
Registered: July 2009
Senior Member
Raj,

Chris is correct that the bundle in question probably has some windows specific code, otherwise it would not have the platform filter to begin with. But I am confused as to why this means the bundle is not installed. I would expect this to cause the bundle to not resolve. I am not sure what you mean by deploying a bundle to windows tomcat. I assume you mean you have an application installed on tomcat that embeds a version of equinox and you are deploying the bundle to that embedded instance of equinox?

Tom.
Previous Topic:Strange entries in 'Installed Software' bookmark
Next Topic:OSGi + Http Service
Goto Forum:
  


Current Time: Tue May 21 09:01:55 EDT 2013

Powered by FUDForum. Page generated in 0.02227 seconds