Skip to content

Filter Feature Imports according to their specified filter property#1825

Merged
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:filter_imports_in_feature
Jun 19, 2025
Merged

Filter Feature Imports according to their specified filter property#1825
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:filter_imports_in_feature

Conversation

@laeubi
Copy link
Copy Markdown
Contributor

@laeubi laeubi commented Jun 19, 2025

If a feature currently uses a 'filter' on an imported plugin this is not considered by PDE and possibly always included. This then leads to the situation that the product launch validation complains because the filter does not match and when running such a launch OSGi prints an error for this plugin as well.

This now checks if the plugin has a filter defined and only add it if it matches.

Fix #1820

If a feature currently uses a 'filter' on an imported plugin this is not
considered by PDE and possibly always included. This then leads to the
situation that the product launch validation complains because the
filter does not match and when running such a launch OSGi prints an
error for this plugin as well.

This now checks if the plugin has a filter defined and only add it if it
matches.

Fix eclipse-pde#1820
@laeubi laeubi merged commit 1de98b9 into eclipse-pde:master Jun 19, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Requirements in features are not filtered when a filter is used

1 participant