문제

I created an ecore-Metamodel, a genmodel and a corresponding model. Now I want to generate Code from this.

I found this post and wanted to implement it. I get no errors and so on, but how do I bring the CodeGenerator to generate the wanted output in a File like 'test.txt' (taken that example from the referenced question)?

Do I require a workflow file (mwe2) or do I miss something?

도움이 되었습니까?

해결책

I only needed to run the application as Java and the code worked. I don't need any workflow or mwe2!

But appearently I still cant create the files like I can with a Generator. I just can use a simple filewriter.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top