Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Why generator generated xtend files and not java file
Why generator generated xtend files and not java file [message #994362] Thu, 27 December 2012 05:08 Go to next message
Ashwani Kr Sharma is currently offline Ashwani Kr Sharma
Messages: 118
Registered: July 2009
Location: Bangalore, India
Senior Member

Hi,

I was able to derive my grammar from ecore model (using Wizard)
When i run MWE2 launcher there are many files which are created by xtend extension e.g. MyDSLLabelProvider.xtend, MyDSLGenerator.xtend. Shouldn't they be .java files ?

Regards,
Ashwani Kr Sharma
Re: Why generator generated xtend files and not java file [message #994416 is a reply to message #994362] Thu, 27 December 2012 08:39 Go to previous message
Alex G is currently offline Alex G
Messages: 96
Registered: January 2012
Member
Hi!

In your mwe-file you can find the entry

var generateXtendStub = true

You can disable it globally or locally in fragments.

Alex.
Previous Topic:Help to understand class contribution in xText
Next Topic:Highlighting of keywords in terminal rules
Goto Forum:
  


Current Time: Tue Sep 30 15:51:14 GMT 2014

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

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