Skip to content
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

Xtext generation not configured correctly #1114

Open
Bananeweizen opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1115
Open

Xtext generation not configured correctly #1114

Bananeweizen opened this issue Jan 2, 2025 · 0 comments · May be fixed by #1115
Labels
bug Erroneous behaviour.

Comments

@Bananeweizen
Copy link
Contributor

Describe the bug
The build generates Java 1.6 code for the Xtext generated sources, not Java 11 as the remaining manual sources.

Screenshots
image

ELK Version
0.9.3

@Bananeweizen Bananeweizen added the bug Erroneous behaviour. label Jan 2, 2025
Bananeweizen added a commit to Bananeweizen/elk that referenced this issue Jan 2, 2025
The Maven build didn't configure any JDK target level for compilation.
Neither for Java code, nor for Xtext generated code. The new properties
configure the Java compiler (maven.compiler.release) and the Xtext
generator (if takes its default from the maven-compiler-plugin,
therefore we set source/target of the compiler, even though that looks
superfluous after the release property).

Fixes eclipse-elk#1114.

Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
@Bananeweizen Bananeweizen linked a pull request Jan 2, 2025 that will close this issue
@soerendomroes soerendomroes added this to the Release 0.10.0 milestone Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Erroneous behaviour.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants