-
-
Notifications
You must be signed in to change notification settings - Fork 301
WIP Upgrade bndtools to Eclipse 4.34 2024-12 #6536
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
base: master
Are you sure you want to change the base?
WIP Upgrade bndtools to Eclipse 4.34 2024-12 #6536
Conversation
25c88e9
to
416d184
Compare
instead of handcrafted at https://bndtools.jfrog.io/bndtools/bnd-build/eclipse/4.25/index.xml.gz This could make it easier to test and use newer Eclipse Versions, since we start having more and more bugs only happening in newer Eclipse versions. Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
note: version difference is on purpose (the asm:9.2 and the rest of asm.* 9.3). 9.2 is required by org.parboiled:parboiled-java:1.4.1 ) Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
which is smaller, but requires a few other repositories (emf,jgit,m2e,wst) to be able to resolve the .bndrun files Signed-off-by: Christoph Rueger <[email protected]>
Still some startup issues m2e, but bndtools starts Signed-off-by: Christoph Rueger <[email protected]>
416d184
to
b52bf27
Compare
Note: for windows and linux I had to remove some requirements, since I guess the bundles do not exist anymore. I noticed via Repository Explorer they are disappearing around 2024-03 Signed-off-by: Christoph Rueger <[email protected]> upgrade to Eclipse 4.35 (2025-03) - resolve all .bndruns - fixed some compilation problems because of stuff which was removed from Eclipse 4.35 Signed-off-by: Christoph Rueger <[email protected]>
b52bf27
to
b0f4f74
Compare
it took me hours to find the reason for the error which was that the BSN changed from org.slf4j.api (in slf4j 1.7.3 which was part of Eclipse 4.25) to slf4j.api ( slf4j 1.7.25 which is in central.maven but not part of eclipse 4.34 anymore) java.lang.IllegalArgumentException at org.eclipse.equinox.internal.provisional.p2.core.VersionParser.parseInto(VersionParser.java:71) Signed-off-by: Christoph Rueger <[email protected]>
TODO still getting build errors (Task :bndtools.core.test:testOSGi FAILED) bndtools.core.test.editors.quickfix.BuildpathQuickFixProcessor_WithEmptyBuildpath_Test <<< ERROR: Cannot invoke "org.osgi.framework.BundleContext.getBundles()" because "bc" is null May related to the jupiter and junit versions which I downgraded to make it resolve. May have to adjust again. Signed-off-by: Christoph Rueger <[email protected]>
because Eclipse 4.34 requires Java 21 minimum Signed-off-by: Christoph Rueger <[email protected]>
this finally fixed bndtools.core.test for me. resolved all test .bndruns again Signed-off-by: Christoph Rueger <[email protected]>
hopefully fixes build / test errors like java.lang.NoClassDefFoundError: org/bouncycastle/asn1/misc/MiscObjectIdentifiers Signed-off-by: Christoph Rueger <[email protected]>
try to fix Exception java.lang.NoClassDefFoundError: org/bouncycastle/asn1/misc/MiscObjectIdentifiers in biz.aQute.bndlib.comm.tests:test Signed-off-by: Christoph Rueger <[email protected]>
to fix HttpTestServerTest Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
versions, versions, versions, versions.... especially since Eclipse repo now has higher versions which causes trouble e.g. slf4j.api 2.0 , hamcrest.... so lots of places where we said version=latest did not work anymore, because in the past that has been 'our' version, but now latest is Eclipse version is is often incompatible Signed-off-by: Christoph Rueger <[email protected]>
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
TODO still fail: aQute.tester.junit.platform.test.ActivatorJUnitPlatformTest Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
@kriegfrj You seem to be very familiar with all the JUnit Testcases stuff in bnd / bndtools. Some tests are working, but I got there via trial and error and I always feel I'm not doing it right. So I could need some support there. Thanks |
Trying with 2024-12 and/or 2025-03