Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL to ATL transformation: Order of source elements is getting changed in the output transformation
ATL to ATL transformation: Order of source elements is getting changed in the output transformation [message #1844025] Fri, 27 August 2021 20:59 Go to next message
Nour Gritli is currently offline Nour GritliFriend
Messages: 1
Registered: August 2021
Junior Member
Hi everyone,


I am using a HOT to add traceability information to an ATL transformation. However for some reason the order of the source elements in the output lazy rules are changed.

for example if in the original transformation you have:

lazy rule {
from
soutClient: MM!Person,
soutSupplier: MM!Person

to
.......
}

In the output transformation this rule becomes:

lazy rule {
from
soutSupplier: MM!Person,
soutClient: MM!Person


to
.......
}

This is happening only for the source elements, everything else in the transformation is the same.

Does any one have any clue about this ?? I am attaching a portion of the HOT.

Thank you
Re: ATL to ATL transformation: Order of source elements is getting changed in the output transformat [message #1844030 is a reply to message #1844025] Sat, 28 August 2021 10:10 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
Senior Member

You're using a very old ATL compiler in refining mode, which may have a bug in the implicit copying of the source pattern of a rule that causes it to mix up the ordering. Can you port your transformation to EMFTVM and try again? You may use ATLCopy.atl as a template to start from.

Cheers,
Dennis
Previous Topic:GUIDE ATL
Next Topic:Issue with assignment of a String
Goto Forum:
  


Current Time: Thu Apr 25 19:33:14 GMT 2024

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

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

Back to the top