Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » [EMFTVM] What is the essence of .emftvm file?
[EMFTVM] What is the essence of .emftvm file? [message #1597793] Mon, 02 February 2015 15:09 Go to next message
Zheng Cheng is currently offline Zheng ChengFriend
Messages: 15
Registered: February 2012
Junior Member
Hi,

I intend to write an ATL transformation to transform my model transformation language into EMFTVM (trying to mimic the way that simpleGT or ATL did it).

My question is that my output should be a .xmi file right? But when I open the .emftvm file that ATL/SimpleGT generated using text editor, it seems being post-processed (i.e. not a .xmi file).

May I ask what I am missing?

In addition, does that mean if I generate .xmi file, it will not be able to interact with EMFTVM's API, e.g. DefaultModuleResolver?

Best,
Zheng

[Updated on: Mon, 02 February 2015 15:16]

Report message to a moderator

Re: [EMFTVM] What is the essence of .emftvm file? [message #1599410 is a reply to message #1597793] Tue, 03 February 2015 16:13 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 351
Registered: September 2012
Location: Belgium
Senior Member

EMFTVM uses a binary bytecode format described here: http://git.eclipse.org/c/mmt/org.eclipse.atl.git/plain/plugins/org.eclipse.m2m.atl.emftvm/doc/EMFTVM.html
Loading/saving is implemented in EMFTVMResourceImpl, which is automatically used by EMF when the .emftvm file extension is used. You can indeed generate XMI as well, but the DefaultModuleResolver will only load binary .emftvm files.


Cheers,
Dennis
Previous Topic:How can OCL constraints specified in the source model be exported as text in the target model (XML)
Next Topic:problem doing uml association
Goto Forum:
  


Current Time: Thu Nov 23 20:10:25 GMT 2017

Powered by FUDForum. Page generated in 0.01269 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software