Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » create a non xtend generatorFragment (Java)
create a non xtend generatorFragment (Java) [message #1676495] Sun, 15 March 2015 13:59 Go to next message
Eleanor Richie is currently offline Eleanor RichieFriend
Messages: 125
Registered: August 2014
Senior Member
I want to have my LangGenerator to be Java and not Xtend.
What is the fragment for the java GeneratorFragment in the MWE2 instead of this one:

fragment = generator.GeneratorFragment {
generateMwe = false
generateJavaMain = false

Re: create a non xtend generatorFragment (Java) [message #1676614 is a reply to message #1676495] Sun, 15 March 2015 15:03 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member

that properties generate a mwe/java main next to your generator.

what you a looking for is generateXtendStub = false (should be applicable to most fragments)

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :

[Updated on: Sun, 15 March 2015 15:04]

Report message to a moderator

Previous Topic:Partial grammar editor
Next Topic:XTEXT does not consume terminals like intended
Goto Forum:

Current Time: Sun Apr 18 12:56:17 GMT 2021

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

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

Back to the top