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
unable to update xtext-reference-project wizard examples to orbit 2024-06 / eclipse 2024-03 #2962
Comments
I see a few failures resolving update sites.. maybe it's just a network failure? What do you mean you see java 11? |
when running the test locally. |
That will depend on what they find in your os path.. |
@LorenzoBettini |
These lines:
can also be found on other bug reports. I don't think it's our fault... it's either m2e or platform... This happens only after upgrading to the new Orbit, doesn't it? |
Did not work neither this is why I started bumping all kind of stuff |
So this is the project that hasn't worked for a long time? |
There is wizard tests where gradle was broken for a long time. And there is example tests which was working |
OK, but concerning the one that is failing now: when has it started to fail? |
the wizard gradle one? or the examples one? |
The one that you mention in this issue |
the examples test is green on master |
OK, so the failure is due to the new Orbit. That was my original question (see above). |
still have no clue where the bad java version come from? preinstalled on ubuntu? one of the actions? |
branch with reduced set |
The one shown in the screenshot says "temurin", so it is the one installed with the setup java action... but we install Java 17, don't we? Listing the contents of that system directory in a pre step would be helpful? Is the project the test wants to build configured for Java 11 or Java 17? Lately, I saw Eclipse having a predefined option to discover installed Java versions and automatically configure them (something I immediately uncheck). If that happens, and the project is configured for Java 11 the running Eclipse will automatically use the discovered matching version. Just a few thoughts |
see the branch mentioned. all javas are there |
So if all javas are there, it might be due to what I said |
But what should I see in the mentioned branch? I was suggesting to print the contents of the java directory. |
OK, then I think it happens as I said before (Eclipse automatically detects all the available JDKs and configures the JREs accordingly). Maybe we should configure those projects to use Java 17 if that's not already done. In that case, Java 17 should be used in our SWTBot tests. If that's already done, then the problem is somewhere else. Currently, I can't test it locally. Maybe in the next few days. |
merged xtext/xtext-reference-projects#413 |
https://github.com/xtext/xtext-reference-projects/actions/runs/8408063499/job/23023767481
i am running out of time investigating whats going on ..,
am also not sure which java versions are visible to the eclipse in the tests.
locally i see java 11 disturbing
maybe we should say the java 11 users a goodbye when it comes to examples
The text was updated successfully, but these errors were encountered: