How to generate Java code from big Ecore models (2000+ classes)? #87
Unanswered
mr-cheddar
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
how can big Ecore models be used for Java code generation correctly? And is it possible at all?
I have generated an Ecore model with about 2000 Classes and Enums which blows up some generated switch statements in the *PackageImpl and *Switch Java classes. Resulting in errors like:
I could divide the Ecore model into several smaller ones and generate each part by itself. But then I would need to take care of each single genmodel and all the changes in the util package classes need to be distributed as well for example. It seems not to be the right way to do it.
Is there anything else I could do in order to generate from 1 big Ecore model? Maybe some option in the genmodel which solves the problem automagically 😉?
Beta Was this translation helpful? Give feedback.
All reactions