-
Notifications
You must be signed in to change notification settings - Fork 95
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
HierarchicalASTVisitorTest fails on master #1028
Comments
@jarthana : could you please contribute required changes to JDT UI? |
I downloaded I20231220-0750 and pulled the latest master code. In manifest of org.eclipse.jdt.ui.tests, I am getting the error: Neither an available bundle nor the associated JRE export package 'org.assertj.core.api'. @iloveeclipse: any hint to fix this? |
@noopur2507 : I don't know how old your SDK is and how do you setup it. I do following:
With that, I'm fine & see no errors in JDT UI. Of course you can use Oomph, but I prefer the way above as it can also work if the last IBuild was unstable and does not depend on even more software layers that can fail... |
Thanks @iloveeclipse. I had the latest nightly SDK build but it didn't include assertj-core_3.24.2. I explicitly installed it using the .p2f file that you mentioned above to make the error go away. Earlier (until 2 weeks back), it was not required to download anything explicitly in the SDK for JDT UI code setup. I see the org.assertj.core.api dependency was added via #968. |
Are you using Oomph? If so, I don't see a dedicated Oomph setup for JDT UI in https://github.com/eclipse-jdt/eclipse.jdt.ui, so https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/releng/org.eclipse.ui.releng/platformUi.setup may need to be adopted. @merks ? |
There is an Oomph setup for JDT: I tested it from scratch just now. Everything looks fine and the test runs: What is the problem? Note the if things are added to the *.target in the aggregator, those additions are visible only if you include that project's setup in the workspace. Otherwise, additions are visible in the next I-Build repository after a successful build. |
Regression from eclipse-jdt/eclipse.jdt.core#1684, JDT UI update needed.
https://download.eclipse.org/eclipse/downloads/drops4/I20231220-0500/testresults/html/org.eclipse.jdt.ui.tests_ep431I-unit-cen64-gtk3-java17_linux.gtk.x86_64_17.html
The text was updated successfully, but these errors were encountered: