|
Re: Generate Model Artifacts Programatically [message #760517 is a reply to message #760510] |
Fri, 02 December 2011 11:37  |
Eclipse User |
|
|
|
On 2011-02-12 17:13, zaouad wrote:
> Is there a way to programatically trigger the artifact generation using
> xtext, i.e, without being in the ide?
>
> We're talking here about something like:
>
> XTextGenerator gen = new ...
> gen.generateArtifacts("my-grammar.xtext")
>
> Context:
> What we have is a lot of UI screen models. We need to introspect them
> and generate an xtext grammar programatically.
> Then using the generated grammar be able to generate artifacts dynamically.
> For this we need to run the XText generate by code.
It is possible to execute the mwe workflows programatically.
I have looked at code for that, but I am afraid I don't remember exactly
where (perhaps mwe itself)... try searching for it.
Regards
- henrik
|
|
|
Powered by
FUDForum. Page generated in 0.05653 seconds