Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP external library importing
RCP external library importing [message #449061] Tue, 09 May 2006 18:22 Go to next message
Eclipse UserFriend
Originally posted by: ijl708.gmail.com

Greetings everyone,

I've had a little experience building small java apps in eclipse. I now
find myself in a position where I need to build a rcp and I am feeling
rather green.

I would like to import an external library jar for use in my rcp, but so
far I'm having no luck. I was able to always do it when building a small
java app, but this rcp stuff is a small step up from there. :)

Anyway, any help would be great, and any links to resources would be
greatly approached.

I'm sure I'll be hanging around here a lot more so it is a pleasure to
meet everyone. ^_^

Thanks,

Ian
Re: RCP external library importing [message #449106 is a reply to message #449061] Wed, 10 May 2006 08:24 Go to previous messageGo to next message
Eclipse UserFriend
There's two ways of doing it:

1) Import it as a jar into your own plugin. Advantages: it's easiest. Disadvantages: you can end up with multiple plugins that have the same library.
2) Create a new plugin using 'New plugin from external Jars'. Then have your plugin depend on it. Advantages: this is the preferred way, and if you need to ship updates to that particular Jar, you've got one place to do it. Disadvantages: bit more effort in getting inter-plugin dependencies right.

There's also a very useful link on http://wiki.eclipse.org/index.php/PDE

Alex.
Re: RCP external library importing [message #449110 is a reply to message #449106] Wed, 10 May 2006 10:44 Go to previous message
Eclipse UserFriend
Originally posted by: ijl708.gmail.com

Thank you Alex.
Previous Topic:Combobox in toolbar
Next Topic:possible to use a view's secondary id in plugin.xml?
Goto Forum:
  


Current Time: Sun Aug 31 02:14:49 EDT 2025

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

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

Back to the top