|Re: xtext-dsl -> enrich-model -> xtend2-template? [message #1014214 is a reply to message #1012839]
||Mon, 25 February 2013 11:33
| Jan Koehnlein
Registered: July 2009
Depends on what you do in the enrichment step.|
I'd rather go for some extension methods to add methods with the needed
functionality in the generator, because the model is also used by other
components which might get confused.
Am 22.02.13 12:35, schrieb m gie:
> I have an xtext-dsl that I used to generate different artifacts from
> (i.e. SQL-Files, XML-File...).
> Now I have a requirement to enrich the model with additional info before
> the code generation (i.e. info that comes from a jdbc datasource).
> 1) I downloaded the latest xtext-distribution and from what I understand
> I should do the generation of artifacts with xtend instead of xpand now.
> Is that correct?
> 2) I am a little bit lost in all the generated plugin-projects ragarding
> where that custom model-enrichment part would go. Any suggestions here?
> thnx and regards,
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Get professional support from the Xtext committers at www.typefox.io
Powered by FUDForum
. Page generated in 0.02180 seconds