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

Conflicting Xtext versions when installing SADL in Eclipse 2020-12? #606

Open
agabaldon opened this issue Jan 21, 2021 · 4 comments
Open

Comments

@agabaldon
Copy link
Collaborator

I installed Eclipse 2020-12 and then tried to install the latest SADL release (3.5.0) and I get the following:

Screen Shot 2021-01-21 at 3 39 32 PM

the error shows that Eclipse installed with Xtext 2.24 and SADL wants 2.23:

Screen Shot 2021-01-21 at 3 43 37 PM

Is it safe to switch SADL to Xtext 2.24 ? Thought I'd ask before just trying it.

@tuxji
Copy link
Collaborator

tuxji commented Jan 22, 2021

Hi @agabaldon did you try the other choice (Update my installation to be compatible with the items being installed)? SADL bundles Xtext 2.23 so if you choose that option, both Xtext 2.23 and SADL can be installed together when necessary. If that option doesn't work anymore (I thought it worked before), then yes, we will need to switch SADL to Xtext 2.24 or allow SADL to use a range of Xtext versions (e.g., 2.23 or later). Let me know you find out.

@crapo
Copy link
Collaborator

crapo commented Jan 22, 2021

@agabaldon , @tuxji : At least on Linux, if I download Eclipse 2020-12 for Java Developers, then the installation goes without a hitch. If you download Eclipse 2020-12 for DSL and Java Developers it will already have Xtext 2.24 installed, hence the conflict.
@kittaakos , other than by trial, is there any way to anticipate when a new version of Xtext is likely to be incompatible with SADL?

@agabaldon
Copy link
Collaborator Author

@tuxji yes, I did. That seems to work fine.
@crapo I used Eclipse for DSL & Java. I expect that using Eclipse for Java would work on MacOS as well.
Once we know what's the best way to go, we should update the install instructions.

@kittaakos
Copy link
Contributor

incompatible with SADL?

@crapo, there will be a few breaking API changes such as this, but I do not know much about the Xtext/LSP4J release cycles. Besides experimental (@Beta) language-server API changes, there should not be any.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants