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

Import the org.apache.commons.logging/io package instead of the bundle #280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

merks
Copy link
Contributor

@merks merks commented Jul 7, 2024

  • The latest version of these are named org.apache.commons.common-io and org.apache.commons.common-logging so better to avoid using the bundle name entirely.

eclipse-simrel/simrel.build#438

- The latest version of these are named
org.apache.commons.common-io and org.apache.commons.common-logging so
better to avoid using the bundle name entirely.

eclipse-simrel/simrel.build#438
@merks merks force-pushed the pr-commons-logging branch from 36a1ee4 to 399af13 Compare July 7, 2024 15:41
@merks merks changed the title Import the org.apache.commons.logging package instead of the bundle Import the org.apache.commons.logging/io package instead of the bundle Jul 7, 2024
Copy link
Contributor

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Ed for this PR!
@zulus could you please have a look at this?
The hard requirement to the old commons-logging bundle with the specified name is really causing trouble in the sim-rel.

Comment on lines -10 to 11
org.apache.httpcomponents.httpclient;bundle-version="4.3.6",
Require-Bundle: org.apache.httpcomponents.httpclient;bundle-version="4.3.6",
org.apache.httpcomponents.httpcore;bundle-version="4.3.3",
com.google.gson;bundle-version="2.2.4",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, to future-proof ourself against further changes like this, I think it would be good to use Import-Package for all dependencies that export their packages with a proper version, which is the case for most non-eclipse bundles.

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.

2 participants