Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtend2 Codegen in running Eclipse instance
Xtend2 Codegen in running Eclipse instance [message #717752] Mon, 22 August 2011 07:59 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I'm writing a little codegen template for Ecore metamodels (it creates
some custom html documentation from custom EAnnotations).

I understand that Xtend2 IGenerators will magically generate code when
deployed in a new Eclipse instance by some sort of special Xtend Builder.

Since I do not have a custom DSL I want to generate code from, my
question is whether I could get the code generation running in the
initial Eclipse instance?

Cheers,
Hauke
Re: Xtend2 Codegen in running Eclipse instance [message #717755 is a reply to message #717752] Mon, 22 August 2011 08:53 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Hi,

its just java classes you call - so write a main class or a workflow e.g. as described here:
http://christiandietrich.wordpress.com/2011/07/29/xtend2-code-generators-with-non-xtext-models/

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Mark Keywords within a String terminal
Next Topic:Getting StructuralFeatures even from superclass?
Goto Forum:
  


Current Time: Sun Apr 18 11:43:05 GMT 2021

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

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

Back to the top