|
|
|
|
|
Re: Flexmi and load resources [message #1861611 is a reply to message #1861607] |
Sun, 22 October 2023 15:53 |
Ludovico Iovino 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 |
|
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.02505 seconds