|
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 |
|
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
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.03349 seconds