Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Multiple ATL files to Single XMI file output possible?
Multiple ATL files to Single XMI file output possible? [message #1835515] Sat, 05 December 2020 12:29 Go to next message
Burak Karaduman is currently offline Burak KaradumanFriend
Messages: 84
Registered: July 2018
Member
Dear All,

Is it possible to write multiple A.atl and B.atl and C.atl to a single output.xmi file?

The transformation chain will not be broken (I am cautious about it), However, I need to divide these rules into separate files. All of the rules conform to the same meta-model.

Thank you!
Re: Multiple ATL files to Single XMI file output possible? [message #1835528 is a reply to message #1835515] Sat, 05 December 2020 23:55 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 581
Registered: September 2012
Location: Belgium
Senior Member

That's a fairly abstract question. The answer is, of course, yes ;-). How depends on how you want to combine A, B, and C:


  1. Are you going to apply A, B, and C together to the same input model? See EMFTVM module import
  2. Are you going to apply A, B, and C to different input models? EMFTVM module import with different input models names in each ATL module
  3. Are you going to apply C to the output of B, and B to the output of A? Transformation chaining, e.g. using Ant or Maven



Cheers,
Dennis
Re: Multiple ATL files to Single XMI file output possible? [message #1835541 is a reply to message #1835528] Sun, 06 December 2020 12:03 Go to previous messageGo to next message
Burak Karaduman is currently offline Burak KaradumanFriend
Messages: 84
Registered: July 2018
Member
Dear Dennis,

1-) The first comment is my primarily preferred selection. I would like to apply A, B, and C to the same input model to generate an output model as a single output file.
2-) The second comment is my second preferred approach. Still, I might require it in the future.

The important thing is for both approaches the output must be in a single output file.

Thank you! I also send you an image in order to visualize my question since everything is a model :) http://.

https://ibb.co/xXRm9cM
Re: Multiple ATL files to Single XMI file output possible? [message #1835568 is a reply to message #1835541] Mon, 07 December 2020 08:36 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 581
Registered: September 2012
Location: Belgium
Senior Member

I created an example ATL project for the first scenario at https://github.com/dwagelaar/atl.examples/tree/main/ATLMultipleModules

Cheers,
Dennis
Re: Multiple ATL files to Single XMI file output possible? [message #1835690 is a reply to message #1835568] Thu, 10 December 2020 13:11 Go to previous message
Burak Karaduman is currently offline Burak KaradumanFriend
Messages: 84
Registered: July 2018
Member
Thank you so much Dennis.

One day I will buy you a drink in order to show my gratitude!
Previous Topic:Using paths in a "uses" statement
Next Topic:One-to-many with 0..1 cardinality possible?
Goto Forum:
  


Current Time: Sat Nov 11 08:17:45 GMT 2023

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

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

Back to the top