Code generation from DSL [message #1862440] |
Tue, 05 December 2023 10:08  |
Eclipse User |
|
|
|
I have a very basic question for which i cannot easily find an answer with google and here it goes:
Starting with https://github.com/LorenzoBettini/packtpub-xtext-book-2nd-examples/tree/master/org.example.entities.parent i want to do the DSL to java generation from the command line using a mwe2 workflow.
There are DSL examples (MyModel.entities) in generatormain.tests and standalone.tests and there is a Xtend generator EntitiesGenerator extends AbstractGenerator. It is possible to execute the EntitiesGenerator in both test projects, but mwe2 is not used here.
Is this (doing the DSL instance(s) to Java translation in a mwe2 workflow) a reasonable target and how do i achieve it?
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.50045 seconds