theia-ide/theia-xtext

Cant run GitPod project

lpalaciosmedinacelli opened this issue · 3 comments

Hi, I am quite new to GitPod, Theia and DSL, but I am interested on implementing one and use Theia as the IDE.

I was following the tutorial here:
[https://www.eclipse.org/community/eclipse_newsletter/2017/may/article5.php#:~:text=Theia%2C%20on%20the%20other%20hand,protocols%20in%20other%20areas%20too.]

But I found it underspecified for the part of building the Theia back and front-end extensions. So I decided to check the code running on GitPod to get a better idea on how it is being done.

But as soon as I lunch GitPod, to my surprise... it fails. As I understand in GitPod you set a Docker image (or alike) with all the dependencies and environment needs properly set, so that it can be run regardless of the client. Which does not seem to be the case.

Ass soon as I lunch GitPod, your script runs, and when this line is executed:
cd app && yarn start ../example-workspace
I get the following error message:
`FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine java version from '11.0.6'.`

Is there something wrong with the image/environement in GitPod? Or am I not doing it correctly?

Also, in the above tutorial, the links to the grammar file, front end extensions, and code are broken.

Thanks in advance

push

this looks like the projects uses a stoneage gradle(w) version
please also note
https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#1_4_0_deprecate_languages
i assume you have to use vscode plugin in theia instead
https://github.com/itemis/xtext-languageserver-example/tree/cd_223_wip_vscode/theia-vscode (note, cd_223_wip_vscode branch)

I got it to build using Red Hat's JDK 8, but that was locally on VS Code, not GITPOD. More descriptions in issue #20.
When I finally got it to run, it stops on files missing in app/src-gen ?