Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Replacing the standard EMF/JET based code generator
Replacing the standard EMF/JET based code generator [message #879990] Fri, 01 June 2012 08:49 Go to next message
Aaron Digulla is currently offline Aaron DigullaFriend
Messages: 258
Registered: July 2009
Location: Switzerland
Senior Member
I'd like to replace the standard EMF/JET based code generator with my own solution (i.e. the step where the Ecore model is turned into Java classes and interfaces in src-gen/.../dsl and src-gen/.../dsl/impl).

Where do I start?
Re: Replacing the standard EMF/JET based code generator [message #880168 is a reply to message #879990] Fri, 01 June 2012 14:47 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3108
Registered: July 2009
Senior Member
Am 01.06.12 10:49, schrieb Aaron Digulla:
> I'd like to replace the standard EMF/JET based code generator with my
> own solution (i.e. the step where the Ecore model is turned into Java
> classes and interfaces in src-gen/.../dsl and src-gen/.../dsl/impl).
>
> Where do I start?

Usually with the reference docs:
http://www.eclipse.org/Xtext/documentation/2_1_0/030-generator.php#generator

There is a list of generator fragments. You'll learn that the
EcoreGeneratorFragment is responsible.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: Replacing the standard EMF/JET based code generator [message #896514 is a reply to message #880168] Wed, 18 July 2012 15:42 Go to previous message
Aaron Digulla is currently offline Aaron DigullaFriend
Messages: 258
Registered: July 2009
Location: Switzerland
Senior Member
Thanks. After the last documentation update, the new link is: http://www.eclipse.org/Xtext/documentation.html#generator
Previous Topic:Delivery default data together with DSL ?
Next Topic:make String type attributes to be unique
Goto Forum:
  


Current Time: Fri Jul 10 07:13:38 GMT 2020

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

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

Back to the top