-
Notifications
You must be signed in to change notification settings - Fork 207
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
maven bundle for org.apache.commons.io has a different symbolic name #21
Comments
@jonahgraham are CDT maintainers aware of this problem? How will CDT deal with the newer Eclipse SDKs? Will newer CDT releases (where the problem is fixed) require a newer SDK build to run on? |
|
My best guess is:
In the meantime, the workaround is to add https://download.eclipse.org/tools/orbit/downloads/drops/R20220531185310/repository to the list of available repos and "Contact all update sites during install to find required software". The simrel seems to be fine because commons.io is pulled in from tracecompass and the commons-io one does not actually exist in the simrel site. |
@jonahgraham : we aren't interested in workaround because we can build in our (closed) environment. We are interested in a permanent solution that allows us consume CDT for offline build, without extra repositories added. The main question is if CDT is supposed to be backwards compatible with older SDK releases? If not, one could simply replace old bundle name with new one I guess. |
We don't provide compatibility with older releases. The catch is that CDT 10.7 was released for 2022-06 and we weren't planning on a new release for 2022-09. The fix on main branch is to just do the update (either require-bundle name change or change to import-package). Do we need to do anything for 2022-09 release cycle? |
Well, update bundle references, see above. Because depending on how end users update or install CDT, they may face issues with missing dependencies. |
We can't change require-bundle in CDT 10.7 branch. We can add commons.io to the CDT p2 repo by adding it to category.xml. |
Why?
Will that mean, the new bundle will be also found if updating from CDT update site without extra update sites, and the bundle will land in the zipped p2 update site? If so, sounds OK. |
I am being perhaps too pessimistic, but changing the dependencies of bundles in a service release seems like a bad idea.
Yes - commons.io will be in the p2 site (zipped and plain) for CDT 10.7.1. All of CDT's 3rd party dependencies are supposed to be in there already, but commons.io is actually a relatively new dep of CDT (in the 20 year lifespan of CDT) and was missed. Note that the CDT 10.7.0 repo will not be modified. |
I will be doing a 10.7.1 release that contains this in the coming days (for 2022-09 M3). |
@jonahgraham , when I try to use the 10.7.1 release I still see the error for this plug-in:
In the
I see the release contains |
Actually never mind, I forgot to update an RPM. Seems to work when I use the new release, sorry for the noise. |
When trying to use a newer Eclipse SDK integration build with CDT 10.7, plugindependencies detects the following problem:
This seems to be due to the
Bundle-SymbolicName
for the Maven bundle being different:Orbit:
Maven:
I assume this will lead to problems at runtime (we can't build with the error above, so we can't test).
Using the Maven bundle is coming from: eclipse-platform/eclipse.platform.releng.aggregator#426
The text was updated successfully, but these errors were encountered: