Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If multiple fragments match a bundle all items are added to the classpath while only the one with the highest version should match #822

Closed
laeubi opened this issue Mar 31, 2022 · 1 comment · Fixed by #823
Assignees
Labels
sponsored The bugfix or feature was gently sponsored by an individual or company
Milestone

Comments

@laeubi
Copy link
Member

laeubi commented Mar 31, 2022

Given I have multiple SWT versions in the target platform, and I have a bundle requiring SWT then multiple native fragments are attached to the compile classpath.

Example:

Require-Bundle: org.eclipse.swt;bundle-version="3.119.0"

leads to

[INFO] Resolved fragments:
[INFO] org.eclipse.swt.gtk.linux.x86_64 3.118.0.v20211123-0851
[INFO] org.eclipse.swt.gtk.linux.x86_64 3.119.0.v20220223-1102
[INFO] org.eclipse.swt.gtk.linux.x86_64 3.117.0.v20210906-0842

@laeubi laeubi added the sponsored The bugfix or feature was gently sponsored by an individual or company label Mar 31, 2022
@laeubi laeubi self-assigned this Mar 31, 2022
laeubi added a commit to laeubi/tycho that referenced this issue Mar 31, 2022
Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
laeubi added a commit to laeubi/tycho that referenced this issue Apr 1, 2022
…s are added to

the classpath while only the one with the highest version should match
laeubi added a commit that referenced this issue Apr 1, 2022
the classpath while only the one with the highest version should match
@laeubi
Copy link
Member Author

laeubi commented Apr 1, 2022

The fix for this issue was gently sponsored by Compart AG.

@laeubi laeubi added this to the 2.7.1 milestone Apr 1, 2022
laeubi added a commit that referenced this issue Apr 1, 2022
the classpath while only the one with the highest version should match
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sponsored The bugfix or feature was gently sponsored by an individual or company
Projects
None yet
1 participant