Which native libraries for RCP application? [message #484712] |
Tue, 08 September 2009 16:22  |
Eclipse User |
|
|
|
Originally posted by: jean.bovet.oracle.com
Hi,
I'm trying to figure out which libraries are needed for my RCP
application to run on other platform than Windows. I downloaded the
platform specific packages from the Eclipse download page (under the RCP
Runtime Library). Let's take for example Linux 32 bits. The only native
library I can see in the downloaded package is:
- org.eclipse.swt.gtk.linux.x86-3.5.0.v3550b.jar
However, in the main distribution of Eclipse, I can also find this library:
- org.eclipse.core.filesystem.linux.x86-1.2.0.v20080604-1400.j ar
Is the filesystem library needed on Linux? Or should I only rely on what
I downloaded for the RCP runtime? Why this difference?
Thanks,
Jean
|
|
|
|
|
Re: Which native libraries for RCP application? [message #484835 is a reply to message #484716] |
Wed, 09 September 2009 09:33  |
Eclipse User |
|
|
|
Eclipse User wrote on Tue, 08 September 2009 16:41 | Originally posted by: jean.bovet.oracle.com
Just out of curiosity, why is the
org.eclipse.core.filesystem.linux.x86-1.2.0.v20080604-1400.j ar not
needed for an RCP runtime on Linux? Are the RCP applications not using
certain native libraries that the Eclipse IDE does (but the IDE is an
RCP app, right?)?
|
An RCP app doesn't include any of the "workspace" plugins. The IDE is an RCP app, but an RCP app that includes the workspace.
Eclipse User wrote on Tue, 08 September 2009 16:41 |
One more question: is there a way to automatically load a native library
or shall I need to have different config.ini file for each platform to
include the correct libraries?
|
Yes, you use Bundle-NativeCode header in the MANIFEST.MF and you can load the correct DLLs or .so depending on your platform. It's a little difficult to get right, though.
PW
|
|
|
Powered by
FUDForum. Page generated in 0.05354 seconds