|Re: [org.eclipse.emf.codegen.ecore] Model code generation templates in Xtend? [message #1235544 is a reply to message #1235543]
||Fri, 24 January 2014 16:16
| Christophe Bouhier
Registered: July 2009
On 24-01-14 17:15, Christophe Bouhier wrote:|
> On 24-01-14 16:45, Bertrand Quenin wrote:
>> I was looking at the source code of EMF looking for templates used for
>> code generation from a GenModel and I ended up looking inside the
>> "org.eclipse.emf.codegen.ecore" plugin source code.
>> There, I found Java and JET templates (I assume the former is generated
>> from the latter) and I was wondering:
>> Am I looking at the right templates? i.e. are these templates the ones
>> used when generating code using "Right click->Generated Model code"?
>> If so, is there by any chance an Xtend version of these templates
>> available somewhere ?
> No, I don't think the EMF code generation ever moved beyond Xtend.
moved beyond JET that is....
> I made an attempt to move EMF to e4 generation, which at some point
> would start to use Xtend, but that is really only the UI side of EMF.
> see here: https://github.com/dzonekl/e4mf
> What is it you are looking for to change in the templates?
>> What I'm looking for is to generate the same code as Eclipse would do
>> but by using Xtend.
Powered by FUDForum
. Page generated in 0.02054 seconds