|[ATL] How does ATL accept instances of two related models [message #643189]
||Sun, 05 December 2010 22:01
Registered: July 2009
I developped two metamodels X and Y that are dependant. (Each one have a class that references another one from the other metamodel): X and Y have some non-containment
bidirectional reference between them. From either the editor for the X instance or the editor for the Y instance, I use Load Resource...
to load the resource containing the other instance. I have an
editor with both an X and a Y instance in the resource set.I am able to populate any reference of X that requires a Y and vice versa using the generic EMF form editor.
The problem is that when using this instances to test my ATL code, it displays the following message :
org.eclipse.m2m.atl.engine.emfvm.VMException: Could not find model mapping. I think that ATL did not consider the relationship that exists between the two instances of X and Y.
Could you please tell me if it is the reason for the problem ? and if it is the case how to solve it ?
Powered by FUDForum
. Page generated in 0.07769 seconds