Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using xbase(Error)
Using xbase [message #1703230] Wed, 29 July 2015 14:17 Go to next message
Abhishek Dubey is currently offline Abhishek DubeyFriend
Messages: 10
Registered: July 2015
Junior Member
Sometimes when I use the project wizard and create an xtext project that uses xbase like this.

grammar edu.vanderbilt.isis.chariot.Types with org.eclipse.xtext.xbase.Xbase

I get error in generated TypesSemanticSequencer.java. The error indicates that the

TypesPackage.JVM_FORMAL_PARAMETER is unknown among other errors. it seems that the problem is that should result in literals from Xbase to be included in the literals generated in the TypesPackage.java. However, that is missing.

On further investigation I found that if I download xbase samples from github, the generated model shows both the top level metamodel as well as the Xtype.ecore and JavaVMTypes.ecore model. Those two are missing from my generated model.
Clearly I am missing a setting. But I do not know what.

Any suggestions?

[Updated on: Wed, 29 July 2015 14:36]

Report message to a moderator

Re: Using xbase [message #1703243 is a reply to message #1703230] Wed, 29 July 2015 16:58 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
How does your workflow look like

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Using xbase [message #1703250 is a reply to message #1703243] Wed, 29 July 2015 18:49 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14661
Registered: July 2009
Senior Member
p.s. did you have a look at the domainmodel example

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Reference a DSL from CDATA section in an Xml file
Next Topic:java.lang.SecurityException on maven build with Xtext and XCore from Mars
Goto Forum:
  


Current Time: Tue Mar 19 08:57:43 GMT 2024

Powered by FUDForum. Page generated in 0.02450 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top