Which native libraries for RCP application? [message #484712] |
Tue, 08 September 2009 20: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 #484716 is a reply to message #484715] |
Tue, 08 September 2009 20:41 |
Eclipse User |
|
|
|
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 13:33 |
|
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
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
Powered by
FUDForum. Page generated in 0.03958 seconds