I have a simple Ecore Meta-Model which models a library that contains books (it's just a simple example). Both, library and books are characterized by a name.
I wrote a DSL that allows me to do something like this:
Where BookA and BookB are books defined in an instance of the ecore meta-model.
I followed this tutorial and I was able to implement the aforementioned DSL. Hence I can import books name for an Ecore model.
Now I need to write a model-to-text transformation that transform the DSL in java code. I'm using Epsilon EGL.
However when I try to access the books within the transformation, the content of their fields (e.g. the string name) is null.
Do you have any idea on how it is possible to fix the problem?
Please let me know if you need further information.
As you can see when you run the transformation, the generated file shows that the proxy is not resolved (first line of each book) and for this reason I cannot access its fields (second line of each book).
This is the Epsilon version: Epsilon Core 220.127.116.11309101707