|[Complete OCL] Correct way of importing referred metamodels [message #1022350]
||Thu, 21 March 2013 18:09
|| Horacio Hoyos
Registered: October 2009
If my metamodel references other metamodels, what is the correct way of importing and using them in a Complete OCL document?
Currently I am suing:
Where QVTCore references elements in the QVTcoreBase metamodel, and it seems to work. I would assume that then, I would need two separate package sections to define context restrictions:
However, if I use this method the CoreDomain context is not recognized, although the quick fix suggests replacing it for CoreDomain.
If I put all the contexts in the qvtcore package the error goes away.
But if I now lunch an eclipse instance from my environment and open the complete OCL, things works the other way round. That is, the single package generates errors and the separate package approach does not.
Can it be something related to the way the imported metamodels are resolved?
(I have attached screenshots with the errors)
(Size: 140.09KB, Downloaded 119 times)
Powered by FUDForum
. Page generated in 0.05491 seconds