|
|
Re: Problem when generating Xtext problem from different EMF models [message #1033085 is a reply to message #1032904] |
Wed, 03 April 2013 20:59 |
Annika Wießgügel Messages: 11 Registered: January 2013 |
Junior Member |
|
|
Hi Luca,
i'm not an expert, but from my own experience i can tell you where your first exception comes from (or where i suppose it comes from ^^) :
"1) Cannot find compatible category category in sealed EClass Element from imported package http://metamodelA: The existing reference 'category' has an incompatible type 'Category'. The expected type is 'Category'."
Normally you find this exception, when your Model (Model A in this case) doesn't have an attribute " category" in "Element". You have to either rename category in the Element-Rule to something that fits the model, or add an attribute into you model A.
I can't solve you second problem. I know exactly that i also had to fight it but don't know how i solved it.
Hope my answer wasn't wrong,
greetings from germany,
Annika
[Updated on: Wed, 03 April 2013 20:59] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03243 seconds