Eclipse RCP - all possibilities to define dependencies?

时光怂恿深爱的人放手 提交于 2019-12-04 23:36:20

问题


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
  • ...

回答1:


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



来源:https://stackoverflow.com/questions/11394475/eclipse-rcp-all-possibilities-to-define-dependencies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!