two parts metamodel [message #1753319] |
Fri, 03 February 2017 18:39 |
Banafsheh Azizi Messages: 328 Registered: July 2016 |
Senior Member |
|
|
Hi,
My source meta-model has two parts which links together.
When I want to transform an element of second part of this meta-model, it doesn't have error but nothing create in output. What can I do?
Member of MDSE Research Group
http://mdse.ui.ac.ir
|
|
|
|
|
Re: two parts metamodel [message #1753778 is a reply to message #1753760] |
Fri, 10 February 2017 05:58 |
Banafsheh Azizi Messages: 328 Registered: July 2016 |
Senior Member |
|
|
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.
Member of MDSE Research Group
http://mdse.ui.ac.ir
[Updated on: Fri, 10 February 2017 05:58] Report message to a moderator
|
|
|
Re: two parts metamodel [message #1753876 is a reply to message #1753778] |
Sat, 11 February 2017 08:09 |
Banafsheh Azizi Messages: 328 Registered: July 2016 |
Senior Member |
|
|
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:
<?xml version="1.0" encoding="ASCII"?>
<etl:ETLModule xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:eol="http://www.eclipse.org/epsilon/eol" xmlns:etl="http://www.eclipse.org/epsilon/etl">
Member of MDSE Research Group
http://mdse.ui.ac.ir
[Updated on: Sat, 11 February 2017 08:37] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03789 seconds