|How can i change Imported Meta-model [message #1063899]
||Fri, 14 June 2013 20:36
| serhat gezgin
Registered: January 2013
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 ?
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
('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 ?
[Updated on: Fri, 14 June 2013 20:38]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01752 seconds