Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL question
ATL question [message #1850291] Thu, 24 February 2022 08:56 Go to next message
Yanhong Dong is currently offline Yanhong DongFriend
Messages: 25
Registered: September 2021
Junior Member
Now I have a very strange problem, the result of invoking ATL in JAVA is different from the result of direct conversion with the ATL engine.
For invoking ATL in JAVA, the result is :
<a/>
<b/>
<c/>
For direct conversion with the ATL engine, the result is:
<a>
<b/>
<c/>
</a>
B and C should be nested in A, but calls to JAVA result in the same hierarchy。
So,do you know why this happens? And how to solve it
Thank you very much for your brief answers to my questions
Re: ATL question [message #1850406 is a reply to message #1850291] Tue, 01 March 2022 20:19 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
Senior Member

It's probably something in the way your load your models when invoking ATL from Java. If you can attach an example Eclipse project, I may be able to find out more...

Cheers,
Dennis
Previous Topic:how to use lazy rule to output various value
Next Topic:About using JAVA call ATL engine
Goto Forum:
  


Current Time: Thu Apr 25 08:34:47 GMT 2024

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

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

Back to the top