Skip to content

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

Merged
zulus merged 1 commit intoeclipse-pdt:masterfrom
merks:pr-commons-logging
Sep 13, 2025
Merged

Import the org.apache.commons.logging/io package instead of the bundle #280
zulus merged 1 commit intoeclipse-pdt:masterfrom
merks:pr-commons-logging

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

@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
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.apache.commons.logging,
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.

@laeubi
Copy link
Contributor

laeubi commented Jul 31, 2025

Any progress on this? This is now over one year old!

- 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
@zulus zulus force-pushed the pr-commons-logging branch from 20ababe to 2b5949d Compare September 13, 2025 08:58
@zulus zulus merged commit ec0a2d1 into eclipse-pdt:master Sep 13, 2025
2 checks passed
@zulus
Copy link
Member

zulus commented Sep 13, 2025

Thank You!

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.

4 participants