[ATL] Model Copy [message #103645] |
Fri, 17 April 2009 07:33 |
sabatier Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Hi all,
I try to generate SysMLCopy with EModelCopyGenerator query on ATL 2, and
i have this error (I try with UML.ecore and i have same error) :
GRAVE: ****** BEGIN Stack Trace
GRAVE: message: ERROR: could not find operation allInstancesFrom on
ECORE!EClass having supertypes: [ECORE!EClassifier, OclType, OclAny]
(including Java operations)
GRAVE: A.main() : ??#68 4:29-4:73
GRAVE: local variables = {self=EModelCopyGenerator : ASMModule,
acc='-- @atlcompiler atl2006
GRAVE: -- Generated by: $Id$
GRAVE: module EModelCopy;
GRAVE: create OUT : OUTMODEL from IN : INMODEL;
GRAVE: helper def : inElements : Set(INMODEL!"ecore::EObject") =
INMODEL!"ecore::EObject".allInstancesFrom('IN');
GRAVE: '}
GRAVE: local stack = []
GRAVE: ****** END Stack Trace
INFO: Execution terminated due to error (see launch configuration to
allow continuation after errors).
GRAVE: ERROR: could not find operation allInstancesFrom on ECORE!EClass
having supertypes: [ECORE!EClassifier, OclType, OclAny] (including Java
operations)
java.lang.RuntimeException: ERROR: could not find operation
allInstancesFrom on ECORE!EClass having supertypes: [ECORE!EClassifier,
OclType, OclAny] (including Java operations)
at
org.eclipse.m2m.atl.engine.vm.SimpleDebugger.error(SimpleDeb ugger.java:195)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:95)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:91)
at
org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModelElement.invok e(ASMEMFModelElement.java:700)
thank for your help
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02534 seconds