Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse RCP - all possibilities to define dependencies?

Is there somewhere a list of all possibilities, to define dependencies in an Eclipse RCP project? maybe filtered by resources?

Possible dependencies:

  • from other Eclipse RCP Plugins
  • by package, without explicitely defining the plugin
  • jar libs
  • ...
like image 640
Skip Avatar asked Jul 09 '12 11:07

Skip


People also ask

What is RCP in Eclipse?

Eclipse RCP (Rich Client Platform) applications, use the Eclipse framework to create feature-rich stand-alone desktop applications. An Eclipse application consists of individual software components, called plug-ins. As Eclipse is build as an extensible framework, plug-ins can use and extend other plug-ins.

How to create RCP application in Eclipse?

To create an RCP application, go to the File menu and select New > Project where you will be presented with the new project wizard. From here choose Plug-in Project. The next screen allows you to assign a name to your plugin. Usually, plug-in name follow Java's package naming conventions.

What is RCP programming?

The rich client platform (RCP) is a programmer tool that makes it easier to integrate independent software components, where most of the data processing occurs on the client side.


1 Answers

as you said, you can use the following directives in the MANIFEST.MF to define dependencies

  • Require-Bundle (for depending on specified bundles)
  • Import-Package (for depending on packages available by export from other bundles)
  • Bundle-Classpath (for embedded paths(!) and JARs)

also, when you create a Fragment, it must define its Fragment-Host, of course, and that is also a dependency in a sense

in an RCP project you can setup Features, and you can specify dependencies to bundles for your RCP app in these features

like image 163
Jörg Avatar answered Sep 20 '22 21:09

Jörg