Git Product home page Git Product logo

pluginanalyser's People

Contributors

shivanshukumar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ckaestne

pluginanalyser's Issues

ManifestParser does not account for indirect bundle dependency specification through the 'uses' property in an 'Export-Package' dependency entry

ManifestParser doe snot account for indirect bundle dependency specification through the 'uses' property in an 'Export-Package' dependency entry.

A Uses property calls for implied imports for the importer who is importing an exported package that use some other package (which my be exported by some other plugin and thus implying a dependency on that as well).

How to treat the 'uses' clause with respect to PluginAnalyser first has to be decided, based on which appropriate changes can be made.

Ref.: OSGi core 5.0.0 specification section 3.7.5 Package Constraints (page46-48)

The fix would include overriding the entire set of classes of apache ivy that are involved with bundle manifest parsing , and modify classes such as ManifestParser, ExportPackage, BundleRequirement and BundleCapability to allow for capturing such details.

The problem goes on to also involve other directives associated with Export-Package such as x-internal, x-friends, includes and excludes (the last two basically overriding the classes exported or not). A fix for these would also be good as it would lead to a more complete and accurate dependency (package based) resolution.

equivalence between fragments and host bundles ( <=> ) is the default in the feature model right now. This is a quick fix and is not proper, need to be changed at some later point in time.

the dependency should ideally be fragment=> bundle bit for now in the dependencies Feature Model, is has been modeled as fragment <=> bundle so as to satisfy the macosx_specifc fragment => eclipse_swt case, where macosx specific part provides functions that satisfy calls to swt ....

this is not the proper way to go about modeling this i.e. fragment => bundle is correct, fragment <=> bundle is not.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.