Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Cant run GitPod project #19

Open
lpalaciosmedinacelli opened this issue Sep 15, 2020 · 3 comments
Open

Cant run GitPod project #19

lpalaciosmedinacelli opened this issue Sep 15, 2020 · 3 comments

Comments

@lpalaciosmedinacelli
Copy link

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

@Erlix322
Copy link

push

@cdietrich
Copy link

cdietrich commented Oct 18, 2020

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)

@pdigre
Copy link

pdigre commented Oct 29, 2020

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 ?

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

No branches or pull requests

4 participants