Skip to main content



      Home
Home » Modeling » TMF (Xtext) » create a non xtend generatorFragment (Java)
create a non xtend generatorFragment (Java) [message #1676495] Sun, 15 March 2015 09:59 Go to next message
Eclipse UserFriend
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
}

Thanks,
Shereen
Re: create a non xtend generatorFragment (Java) [message #1676614 is a reply to message #1676495] Sun, 15 March 2015 11:03 Go to previous message
Eclipse UserFriend
no,

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)

[Updated on: Sun, 15 March 2015 11:04] by Moderator

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


Current Time: Fri Jul 04 17:40:47 EDT 2025

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

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

Back to the top