Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Which native libraries for RCP application?
Which native libraries for RCP application? [message #484712] Tue, 08 September 2009 16:22 Go to next message
Eclipse UserFriend
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 #484715 is a reply to message #484712] Tue, 08 September 2009 16:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jean,

you can rely on the downloaded RCP runtime. If you need to build for
other platforms, e.g. windows, you need the deltapack.

The deltapack is (in addition) to p2 build described:
http://www.vogella.de/articles/EclipsePDEBuild/article.html

Otherwise you should be fine with your download.

Best regards, Lars


--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Re: Which native libraries for RCP application? [message #484716 is a reply to message #484715] Tue, 08 September 2009 16:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jean.bovet.oracle.com

Thanks Lars. The delta pack is really helpful.

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?)?

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?

Regards,

Jean

On 9/8/2009 1:30 PM, Lars Vogel wrote:
> Hi Jean,
>
> you can rely on the downloaded RCP runtime. If you need to build for
> other platforms, e.g. windows, you need the deltapack.
>
> The deltapack is (in addition) to p2 build described:
> http://www.vogella.de/articles/EclipsePDEBuild/article.html
>
> Otherwise you should be fine with your download.
>
> Best regards, Lars
>
>
Re: Which native libraries for RCP application? [message #484835 is a reply to message #484716] Wed, 09 September 2009 09:33 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to get editor order
Next Topic:Problem generating product
Goto Forum:
  


Current Time: Sat Jun 21 11:22:17 EDT 2025

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

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

Back to the top