Require-Bundle and Import-Package versus feature.xml requires

Posted by Robert Munteanu on Stack Overflow See other posts from Stack Overflow or by Robert Munteanu
Published on 2010-12-26T22:58:36Z Indexed on 2010/12/27 7:54 UTC
Read the original article Hit count: 362

When building an Eclipse plugin (lato sensu) which consists of multiple plugins and one feature, I have two ways of specifying dependencies:

  • in the plugins themselves, using Require-Bundle and Import-Package in META-INF/MANIFEST.MF;
  • in the feature.xml file from the feature.

In my understanding, it should be enough to declare the dependencies at the lower level, i.e. in the plugins. Why do we still have the feature.xml requires mechanism?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about eclipse-plugin