enabling "inter-model references" when running ATL emftvm transformations [message #1848315] |
Sat, 27 November 2021 22:17 |
nour nour Messages: 19 Registered: April 2020 |
Junior Member |
|
|
Hello,
I am trying to run an ATL transformation outside the eclipse environment.
I made use of the ATLauncher, which is a standalone java class that was created for this purpose (link to it: https://github.com/guana/ATLauncher)
However, in order for ATLauncher to run the transformation, it requires an ATL emftvm code. So I generated my transformation.emftvm code.
I tested the ATLauncher code in cmd and in eclipse and it runs the transformation. However, it does not consider "inter-model references" as ATL does.
The figure below depicts an ATL transformation run configuration, where I am able to check the "allow inter-model references" so I get the proper output model.
Whereas, as depicted in the figure below, ATLauncher is run as a java application and not as an ATL transformation. So there is no way to enable the "inter-model reference" option.
Therefore, in order to run my transformation using ATLauncher, I am obliged to alter my transformation code by eliminating the inter-model references, which produces an output model, but it is erroneous.
I would like suggestions on how can I enable "inter-model references" when running emftvm transformations.
Thank you in advance.
-
Attachment: atl.png
(Size: 38.70KB, Downloaded 298 times) -
Attachment: emftvm.png
(Size: 31.42KB, Downloaded 288 times)
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02072 seconds