|
|
|
|
|
Re: Flexmi and load resources [message #1861611 is a reply to message #1861607] |
Sun, 22 October 2023 15:53 ![Go to previous message Go to previous message](png/up.png) ![Go to next message Go to next message](png/down.png) |
Ludovico Iovino![Friend of Eclipse Friend](png/friends_decorator80e8.png) Messages: 33 Registered: July 2019 |
Member |
|
|
Sure. Basically I'm reusing EpsilonLiveFunction class since I'm executing that code as a service, but also running the main locally does not work. If you execute the validate.evl with runtimeconfiguration you'll see that the console prints the "implements" list. If you execute it from Java it is empty, while the model myA refers to an imported flexmi file.
Thanks for the help!
[Updated on: Sun, 22 October 2023 16:49] Report message to a moderator
|
|
|
Re: Flexmi and load resources [message #1861618 is a reply to message #1861611] |
Mon, 23 October 2023 11:59 ![Go to previous message Go to previous message](png/up.png) ![Go to next message Go to next message](png/down.png) |
|
Hi Ludovico,
The Flexmi parser tries to resolve the relative ?import: ra.flexmi import against the artificial "flexmi.flexmi" URI in your getInMemoryFlexmiModel() method and therefore fails.
On an unrelated note, as you are parsing the Emfatic text twice (once for each model), this produces two different copies of the same EPackage (metamodel), which is likely to cause other issues down the line.
Thanks,
Dimitris
|
|
|
|
Powered by
FUDForum. Page generated in 0.02264 seconds