Hi,
when i use XXEcorePostProcessor i can manipulate my generated metamodel but on my
grammer i use imported metamodel too and i want to change this metamodel too
so how can i done this ?
Sample;
I have User class on a.ecore
and i have Principle Class on b.ecore
and i have Group Class on b.ecore
and i need to do grammer as;
Principle returns Principle:
Group | a::User
Group:
'Group'
name=QualifiedName
'{'
('users' '(' users+=[a::User|QualifiedName] ( "," users+=[a::User|QualifiedName])* ')' )?
'}'
;
but xtext give me error on Principle rule, so i want to change a.ecore and i must User superClass to Principle class. But i cant because 2 ecores on seperated Project and when i give dependiencies to eachother i get cycled dependiency error. (i already have one dependency)
So how can i fix this ? Anyone can help me ?
Regards
[Updated on: Fri, 14 June 2013 16:38] by Moderator