Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » How to reverse an ATL transformation(is it possible to reverse an ATL transformation easily ?!)
How to reverse an ATL transformation [message #1806189] Sun, 05 May 2019 17:02 Go to next message
Ali Sardarian is currently offline Ali SardarianFriend
Messages: 12
Registered: March 2019
Junior Member
Hi

firstly sorry for my low knowledge about ATL language.
I have a provided ATL transformation file that I didn't develop it.

is there any fast way to making this transformation work invertedly ?

I mean to bring back my source model from the created target model.


Best Regards
Ali Sardarian
Re: How to reverse an ATL transformation [message #1806204 is a reply to message #1806189] Mon, 06 May 2019 08:24 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 581
Registered: September 2012
Location: Belgium
Senior Member

Short answer: no.

Long answer: there exists a research prototype of a special ATL implementation that support bidirectionality (i.e. the ability to do reverse transformations). It is called ATL-GT, and is developed by Sochiro Hidaka and Massimo Tisi. See https://github.com/atlanmod/ATLGT for more information.


Cheers,
Dennis
Re: How to reverse an ATL transformation [message #1806243 is a reply to message #1806204] Mon, 06 May 2019 17:27 Go to previous message
Ali Sardarian is currently offline Ali SardarianFriend
Messages: 12
Registered: March 2019
Junior Member
Thanks Dennis

the ATL-GT looks useful but when I try to run its example project with these configuration settings and the .atl transformation that I want :

http://ali.sardarian.ir/files/annotation2019-05-06.jpg

this problem will occur:
An internal error occurred during: "Launching New_configuration".
Exactly 2 metamodels must be defined in an ATL-GT transformation

I think the ATL-GT isn't compatible with transformation rules.

I attached the ATL transformation file also.

  • Attachment: KDMtoUML.atl
    (Size: 25.18KB, Downloaded 67 times)

[Updated on: Mon, 06 May 2019 17:28]

Report message to a moderator

Previous Topic:Problem with a simple transformation using EMFTVM
Next Topic:Problem Change ATL Class name
Goto Forum:
  


Current Time: Sat Nov 11 08:19:58 GMT 2023

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

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

Back to the top