Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Why picking up the 64 bit fragment instead of the 32 bit on Linux?(Run Configuration set up properly, still picking the wrong fragment bundle)
Why picking up the 64 bit fragment instead of the 32 bit on Linux? [message #552974] Sun, 15 August 2010 08:58 Go to next message
Marton Sigmond is currently offline Marton Sigmond
Messages: 71
Registered: July 2009
Location: Hungary
Member
Hi,

to reproduce the problem, do the following in the IDE on a 32bit Linux box (takes 3 minutes):
1) Create a standard OSGi bundle (as fragment host)
2) Create a standard OSGi fragment bundle and add the following to the manifest: Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86))
3) Create another standard OSGi fragment bundle and add the following to the manifest: Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
4) Create a minimal OSGi run configuration, add the host and the 32bis fragment to it, but not the 64bit fragment.
5) Launch the run configuration.

What you will see is that
- the OSGi tries to load the 64bit fragment, even though it was not added to the run configuration.
- the OSGi does not see the 32bit fragment, even though it was added to the run configuration.

Please advise whether I am doing something wrong or if it is a bug?

Thanks,
Marton


Best Regards,
Marton Sigmond
Software Design Engineer
Re: Why picking up the 64 bit fragment instead of the 32 bit on Linux? [message #553097 is a reply to message #552974] Mon, 16 August 2010 09:26 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas Watson
Messages: 420
Registered: July 2009
Senior Member
I suggest you open a bug against PDE with your testcase attached at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDE

I suspect it is a PDE tooling issue with setting up your launch configuration.

Tom.
Re: Why picking up the 64 bit fragment instead of the 32 bit on Linux? [message #553200 is a reply to message #553097] Mon, 16 August 2010 12:41 Go to previous message
Marton Sigmond is currently offline Marton Sigmond
Messages: 71
Registered: July 2009
Location: Hungary
Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322813


Best Regards,
Marton Sigmond
Software Design Engineer
Previous Topic:Equinox p2 Admin UI: missing features folder
Next Topic:missing executable after headless product build
Goto Forum:
  


Current Time: Thu Jul 31 17:46:18 EDT 2014

Powered by FUDForum. Page generated in 0.01368 seconds