eclipse-pde-partial-idea icon indicating copy to clipboard operation
eclipse-pde-partial-idea copied to clipboard

Strictly dependencies managment

Open Camork opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. The dependencies management does not follow OSGi strictly, If I use a package in a class and don't declare it in MANIFEST, It won't complain. It seems that this plugin will load all dependencies into the module classpath regardless of the Requre-Bundle or import-package declarations. And it makes the inconsistency.

Describe the solution you'd like we can decrease the dependencies scope and make it come only from the declaration.

Describe alternatives you've considered NA

Additional context NA

Camork avatar Sep 27 '23 02:09 Camork

You need to add PDE Facet or add Eclipse PDE Partial framework support to Module first, then subsequent inspection of code and dependencies will be carried out normally.

JaneWardSandy avatar Sep 27 '23 08:09 JaneWardSandy

I have added the facet, sorry I can't reproduce this problem in a fresh workspace but in my work project. Maybe I need to debug into it.

Camork avatar Sep 28 '23 03:09 Camork