|[EcoreGen] State-of-the-art way to generate code from Ecore in Maven? [message #1796398]
||Fri, 12 October 2018 11:29
| Niko Stotz
Registered: June 2010
I'm working on a product with several projects, each containing one ecore model. These models depend on one another (without circles). Within Eclipse, I can generate the code by manually running the generator on each genModel.
However, automating this using Maven has proven to be a challenge.
I've found multiple posts that are closely related to my problem, such as:
https://www.eclipse.org/forums/index.php/t/202345/, a post describing to use an Ant task.
I've also come across mentions of running a headless eclipse version to generate the required code, but no clear documentation on how to get started with that.
Since the posts I found are from ~2010 or earlier, my question is as follows: is that Ant task (or the headless eclipse solution) still the preferred solution, or is there something newer that I've missed? Might an MWE2 workflow be helpful?
Thanks a lot.
Powered by FUDForum
. Page generated in 0.01677 seconds