Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » use of eclipse code in the rcp - plugin dependencies vs jar files
use of eclipse code in the rcp - plugin dependencies vs jar files [message #437342] Tue, 27 September 2005 16:42 Go to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I'm using the RCP (along with many classes from the IDE), and I
currently specify all of the required JAR files in my Java Build Path,
as well as specifying all of the required plugins in my plugin.xml file
dependencies section (with it's very nice editor).

This seems to be two ways of specifying the same thing. Although
everything works, is this the easiest and most correct way of specifying
the dependencies on plugins?

Thanks,

Francis


Re: use of eclipse code in the rcp - plugin dependencies vs jar files [message #437345 is a reply to message #437342] Tue, 27 September 2005 18:02 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Francis Upton wrote:
> I'm using the RCP (along with many classes from the IDE), and I
> currently specify all of the required JAR files in my Java Build Path,
> as well as specifying all of the required plugins in my plugin.xml file
> dependencies section (with it's very nice editor).
>
> This seems to be two ways of specifying the same thing. Although
> everything works, is this the easiest and most correct way of specifying
> the dependencies on plugins?

Assuming you have jars in one plugin, LIB, and then your RCP app uses
them and depends on them.

LIB has the jars in it's build path, and LIB exports them in the Order
and Export tab. (this takes care of compiling)

LIB also has to put the jars in it's manifest classpath and export the
packages so that other plugins can access during runtime.

The RCP app plugin just has to depend on the LIB plugin ... it doesn't
add anything else to it's build path, it was done just by updating RCP
manifest.

Later,
PW


Previous Topic:[PDE] dependency graph API?
Next Topic:How to include Tasks View
Goto Forum:
  


Current Time: Sun Dec 08 06:25:12 GMT 2024

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

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

Back to the top