Xtext Hello World does not work with Eclipse 2018-12 [message #1803788] |
Sun, 10 March 2019 01:42 |
Edward Lee Messages: 1 Registered: March 2019 |
Junior Member |
|
|
I have a brand new fresh installation of Eclipse 2018-12, and the xtext Hello World example, org.xtext.example.mydsl, does not work. Specifically, the steps that fail (on a brand new Eclipse) are these:
1. Install xtext as here: https://www.eclipse.org/Xtext/download.html
2. Create a new xtext project
3. Right click on the sample xtext code and Run As -> Generate Xtext Artifacts
4. Right click on the project and Run As -> Eclipse Application
5. In the new Eclipse, create a new project and a new file in the src directory with the right extension.
The only warning of any kind is this:
The file "plugin.xml" does not exist
Upon launching the second instance of Eclipse, creating a new project, and creating a test file foo.mydsl, all I get is a massively heavyweight plain-text editor. There is no outline and no highlighting. There are no warnings, no errors, nothing that I can find. I have to conclude that xtext simply doesn't work with Eclipse.
The 15-minute demo here fails in exactly the same way:
https://www.eclipse.org/Xtext/documentation/102_domainmodelwalkthrough.html
During installation of xtext, I get "Cannot perform operation." The only option offerred that will install the xtext IDE is "Install different version than originally requested". See attached screenshot. I tried both:
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
and
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/latest/
Same conflict seems to occur with both.
Suggestions? This does not make me very optimistic about using xtext with Eclipse.
|
|
|
|
Powered by
FUDForum. Page generated in 0.01860 seconds