Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » EMFTVM doesn't generate output
EMFTVM doesn't generate output [message #1005537] Sat, 26 January 2013 04:26 Go to previous message
Antonio M. Moreno is currently offline Antonio M. Moreno
Messages: 5
Registered: November 2012
Junior Member
Hello,
I'm developing some transformations in EMFTVM because I need multiple inheritance rules. Like I didn't get any output in all of them, I tried run the example PortsToPins available in Git repository of ATL.

My header of *.atl file is:
-- @atlcompiler emftvm
-- @path Ports=platform:/resource/TestPorts2Pins/Ports.ecore
-- @path Pins=platform:/resource/TestPorts2Pins/Pins.ecore
module PortsToPins;

create OUT : Pins from IN : Ports;

helper context Ports!Port def : pins : Sequen


The run configuration windows is:
h ttp://s8.postimage.org/6cf24q5md/Screen_Shot_2013_01_26_at_10_08_14.png
(paste without space)

Moreover, my launch file is:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.m2m.atl.emftvm.launcher.EMFTVMTransformation">
<stringAttribute key="ATL File Name" value="//TestPorts2Pins/PortsToPins.atl"/>
<booleanAttribute key="Disable JIT compiler" value="false"/>
<booleanAttribute key="Display Timing Data" value="true"/>
<mapAttribute key="Inout Model Options"/>
<mapAttribute key="Inout Models"/>
<mapAttribute key="Inout Models Output Locations"/>
<mapAttribute key="Input Model Options"/>
<mapAttribute key="Input Models">
<mapEntry key="IN" value="platform:/resource/TestPorts2Pins/PortsBlockDiagram.xmi"/>
</mapAttribute>
<mapAttribute key="Metamodel Options"/>
<mapAttribute key="Metamodels">
<mapEntry key="Pins" value="platform:/resource/TestPorts2Pins/Pins.ecore"/>
<mapEntry key="Ports" value="platform:/resource/TestPorts2Pins/Ports.ecore"/>
</mapAttribute>
<stringAttribute key="Module Name" value="PortsToPins"/>
<stringAttribute key="Module Path" value="/TestPorts2Pins/"/>
<mapAttribute key="Output Model Options">
<mapEntry key="OUT" value="allowIntermodelReferences derivedFile"/>
</mapAttribute>
<mapAttribute key="Output Models">
<mapEntry key="OUT" value="platform:/resource/TestPorts2Pins/PinsOutput.xmi"/>
</mapAttribute>
<listAttribute key="Superimpose"/>
</launchConfiguration>


However, when I run the transformation, it generate the output file PinsOutput.xmi, but it only contains the XML header:
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="h ttp://www.omg.org/XMI"/>

(the space in http is due to I can't post urls if I have less than 5 posts)
I take the same output for all transformations runned by EMFTVM Sad
I have the last distribution of ATL (3.4.0).

Any suggestions?
Thank you in advance!
Antonio

[Updated on: Sat, 26 January 2013 04:29]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Stackunderflow due to missing do clause in called rule
Next Topic:using resolveTemp y the source patterns
Goto Forum:
  


Current Time: Wed May 22 15:12:51 EDT 2013

Powered by FUDForum. Page generated in 0.04587 seconds