-
Notifications
You must be signed in to change notification settings - Fork 37
Since Java 15: Unable to reference Java types in the same project #792
Comments
besides that xtext does NOT support https://ci.eclipse.org/xtext/job/xtext-lib/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/maven-repository/ for the current wip version likely this wont work for any non 8,11,17 version |
Yes, here are the results: https://github.com/OLibutzki/HelloJava/actions/runs/2656549071
Is the referenced WIP not part of 2.28.0.M1 which I use in my project? |
no, as i am currently basically alone with zero motivation
|
i assume 14 is the latest version supported by |
Ok, thanks for helping that quickly, @cdietrich. |
@cdietrich, I have tested the latest 2.29.0-SNAPSHOT with my example repo as you stated in eclipse-xtext/xtext#1982 (comment). You can find the results here: https://github.com/OLibutzki/HelloJava/actions After switching to the latest Snapshots the builds for Java 15 to 17 passed. The only thing I did was including the snapshot repositories and using 2.29.0-SNAPSHOT as you can see in OLibutzki/HelloJava@6b92eca. Thanks for your efforts. |
Hello @cdietrich and Hello @OLibutzki, I might be mistaken here, but is it possible that this broke again? I forked Olivers example and updated it to 2.29.0.M1 (this was released a week ago, so I would assume that it would contain whatever fixed the issue). With said version the build breaks: https://github.com/nils-christian/HelloJava/actions/runs/3217240308/jobs/5259981216 Best regards Nils |
the branch has nothing todo with M1, as i dont get sufficient feedback i am hesitant to merge to to master so that it gets onto m1 (or any other milestone) |
I see. Thank you, @cdietrich. |
Xtext 2.29 for Java 17 is released |
Starting with Java 15 referencing Java types which are located in the same project as the DSL doesn't work anymore.
I created a repository containing a sample language and a concrete model using that language to demonstrate the issue: https://github.com/OLibutzki/HelloJava
There also is a GitHub Actions Matrix Build which shows that this seems to be broken starting with Java 15.
I am aware of eclipse-xtext/xtext#1982, but it's quite hard to extract, if this issue is covered somewhere.
The text was updated successfully, but these errors were encountered: