-
Notifications
You must be signed in to change notification settings - Fork 32
ST6RI-844 Update to Eclipse 2025-03 #655
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
Conversation
- Updated Eclipse requirement to SimRel 2025-03 - Xpect had to be updated to a recent nightly build because of a removal of a test bundle from recent Xtext version - Updated used Asciidoctor version
- Projects were updated to explicitly specify UTF-8 character encoding - Some redundant configuration was removed from Maven - A deprecated field usage was updated - Unused (and deprecated) UpdateSiteNature was removed from site project
I updated various README files to reflect the new Eclipse and Java versions, and bring them up to date otherwise as necessary. |
The Xpect tests run fine in the Maven build. However, if I try to run them as Junit tests from the Eclipse IDE, I get the exception |
Xpect tests are run as plain Java JUnit tests (without Eclipse/OSGi runtimes) that do not always correctly collect transitive dependencies. This resulted in the test executions failing because of the missing classgraph dependency that needed to be added.
I have fixed the launching issues by adding a specific dependency that is only used inside Eclipse. The root cause of the issue is that those tests are run as JUnit tests over Eclipse plugin projects, which behave differently regarding transitive dependencies. By explicitly specifying the problematic dependencies, these issues can be fixed. |
Thanks, it works now. Why wasn't this a problem before? |
This PR updates the Eclipse platform to Eclipse version 2025-03.