Joe
Joe

Reputation: 4514

Xtext tutorial - generated code contains errors :(

Working through the five minute Xtext tutorial (http://www.eclipse.org/Xtext/documentation/2_1_0/010-xtext-in-5-minutes.php)

I get to "Generating The Language Infrastructure" (which has really only required a few clicks and I find that the generated code contains errors... in particular the class AbstractMyDslRuntimeModule throws the errors

Any ideas?

Upvotes: 0

Views: 789

Answers (2)

Joe
Joe

Reputation: 4514

So I'm trialing a lot of language development environments and they appear to interfere with each other - downloading a separate eclipse and using that only for xtext has solved this problem.

Upvotes: 0

Zoltán Ujhelyi
Zoltán Ujhelyi

Reputation: 13858

I would check whether the mentioned package exists in the project. It should be in either the src, or the src-gen source folder.

If not, then it is possible, that the package variables in the language workflow file is incorrect. Check the mwe2 file next to the grammar file for package information.

Upvotes: 0

Related Questions