I specified ETL as metamodel, but when I write e.g. "MM_ETL!AssignmentStatement" in the from part of my ATL rule, no element create in the output. if I change "MM_ETL!AssignmentStatement" to e.g. "MM_ETL!TransformationRule" or anything in the ETL part the elemet create in the output. I use version 3.6 of ATL.
When I register metamodels, the output is not generated whether transform the element of ETL part or EOL part. I have this error:
Error loading platform:/resource/Project/Model/Tree2Graph.etl.model: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@757faad7 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@1c2fa2f9 (name: NameExpression) (instanceClassName: null) (abstract: false, interface: false))' is not legal. (platform:/resource/Project/Model/Tree2Graph.etl.model, 35, 104)
The start of my Tree2Graph.etl.model file is like below:
You probably have an attribut set with an object of the wrong type (for example you have value="1" instead of value=1).
(platform:/resource/Project/Model/Tree2Graph.etl.model, 35, 104): this indicate the line and the column where is the element of your model causing the issue.