I hope this is in the right part of the forum, its related both to XText and EMF and I am using Eugenia so I took a guess
I have the problem with that I get the error
"All references are unique in EMF due to the current code generation"
I have a simple Xtext grammar (I am tryint to extend the default therefore I still use "Greeting" ) that I am trying to use. The issue seems to be that I try to have a "list" of links to AttributeDefinition.
When I have
it works but since I want to be able to have more then one attribute related to more then one Greeting I tried to change to
but then I get the error.
Is there something I am missing when I try to make a list of references to an attribute? I tried to make links separated from everything else (as can be see in my commented code) but I would like to "insert" them into the Greeting part.
I don't know if it is relevant but better with to much then to little
Anyway, I wrote in the beginning that I use Eugenia and I get the error when I am doing this process and when I am at step nr 6.
am not sure what the problem is. maybe the thing you use doesnt like 0..* refs with unique = false.
you may try to
(1) use a manually maintained metamodel
(2) change the unique to true using a IXtext2EcorePostProcessor