Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Difference between JVMInferrer and Generator(New versions of Xtext does not create a default generator automatically)
Difference between JVMInferrer and Generator [message #1041952] Mon, 15 April 2013 16:18 Go to next message
Eclipse UserFriend
Hello everyone,

I use to work with a previous version of Xtext which did not work with JvmModelInferrer. For nor on I am using Xtext 2.4 and when I execute the "generate Xtext artifacts", no generator class is created anymore. Are we supposed to work with and ModelInferrer and no more Generator?

What is the difference between then?

I searched in different tutorials, but many of them still refer to a generator if you want to transform you DSL code to Java, for example.

Thanks in advance,

Leandro Nascimento
PhD student
Re: Difference between JVMInferrer and Generator [message #1042474 is a reply to message #1041952] Tue, 16 April 2013 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi the jvmmodelgenerator is used when you use base. You may simply
subclass it

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Re: Difference between JVMInferrer and Generator [message #1042490 is a reply to message #1042474] Tue, 16 April 2013 09:46 Go to previous messageGo to next message
Eclipse UserFriend
But let me understand it better: is it possible to generate .java code using the Model Inferrer as well as the regular generator does?

Tks
Re: Difference between JVMInferrer and Generator [message #1042498 is a reply to message #1042490] Tue, 16 April 2013 09:57 Go to previous messageGo to next message
Eclipse UserFriend
Yes

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Re: Difference between JVMInferrer and Generator [message #1042504 is a reply to message #1042498] Tue, 16 April 2013 10:08 Go to previous message
Eclipse UserFriend
http://www.eclipse.org/forums/index.php/mv/msg/473491/1038310/#msg_1038310
Previous Topic:Could anybody provide some information about NodeModelUtils?
Next Topic:Problem customizing the outline
Goto Forum:
  


Current Time: Fri Jul 04 02:11:20 EDT 2025

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

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

Back to the top