Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Dealing with large models, the ISO20022 case
Dealing with large models, the ISO20022 case [message #1797700] Mon, 05 November 2018 11:53 Go to next message
Luca Berardinelli is currently offline Luca BerardinelliFriend
Messages: 54
Registered: June 2010
Location: Vienna
Member
Hi all,
I am trying to deal with large models. In particular, I want to process instances of the iso20022.ecore standard that can be found here.

https://www.iso20022.org/e_dictionary.page

the "eRepository.iso20022" instance of iso20022.ecore is very large.
My goal is to implement a model to text transformation using egx/egl pair.
I registered the iso20022.ecore metamodel in Eclipse. Then, when I try to set up a run configuration, I select the eRepository.iso20022 file and the Eclipse freezes in loading that large model.

How can I solve this issue? any parameter to set properly (in run configuration?).

thanks in advance!
Luca



Luca Berardinelli
Re: Dealing with large models, the ISO20022 case [message #1797701 is a reply to message #1797700] Mon, 05 November 2018 12:39 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2182
Registered: July 2009
Location: York, UK
Senior Member

Hi Luca,

We should really add an auto-detect metamodel option at some point that users can turn off in such cases. Until then, a workaround would be to type the path of the model in, as opposed to using the browse button, and add the respective metamodel URI manually.

Cheers,
Dimitris
Re: Dealing with large models, the ISO20022 case [message #1797714 is a reply to message #1797701] Mon, 05 November 2018 14:51 Go to previous messageGo to next message
Luca Berardinelli is currently offline Luca BerardinelliFriend
Messages: 54
Registered: June 2010
Location: Vienna
Member
Hi Dimitris,
thanks for your reply. I am adding the metamodel manually. Now, while playing with Epsilon, I am a bit confused by the available options for model types.
My input M1 artifact here is the *.iso20022 model, i.e., an instance of the M2 artifact iso20022.ecore.

What is the correct model type to use here among:


  • EMF Model
  • M0 EMF Model
  • Registered EMF Package
  • Virtual EMF Model


Probably I missed the examples for these options. Is the eRepository.iso20022 a M1 artifact that conforms to the M2 artifact iso20022.ecore? if yes, I cannot figure out what an M0 EMF artifact is.

cheers,
Luca


Luca Berardinelli
Re: Dealing with large models, the ISO20022 case [message #1797723 is a reply to message #1797714] Mon, 05 November 2018 16:09 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2182
Registered: July 2009
Location: York, UK
Senior Member

Hi Luca,

It sounds like you should use an "EMF Model" for this. M0 EMF is an experimental driver described in this paper: https://journal.ub.tu-berlin.de/eceasst/article/view/42

Cheers,
Dimitris
Re: Dealing with large models, the ISO20022 case [message #1797967 is a reply to message #1797723] Fri, 09 November 2018 10:08 Go to previous messageGo to next message
Luca Berardinelli is currently offline Luca BerardinelliFriend
Messages: 54
Registered: June 2010
Location: Vienna
Member
Hi all,
I solved the problem with the following workaround:

- I created a trivial model (.iso20022) that conforms to the given metamodel (iso20022.ecore),
- I created a run configuration using EMF Model as model types (it is obvious but when I have some troubles I doubt about any possible assumption :) ),
- I manually assigned the right metamodel to the selected model (this was the problematic step with very large model)
- I saved the launch configuration in a file
- I reopened the same run configuration and I replaced the dummy model with the real one (the eRepository.iso20022 provided by the ISO20022 official page)
- I run the model transformation (an EGX/EGL one in my case).

Hope it helps.
best,
Luca




Luca Berardinelli

[Updated on: Fri, 09 November 2018 10:10]

Report message to a moderator

Re: Dealing with large models, the ISO20022 case [message #1798048 is a reply to message #1797967] Sun, 11 November 2018 21:06 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2182
Registered: July 2009
Location: York, UK
Senior Member

Hi Luca,

This is another very sensible workaround; thanks for sharing your solution!

Cheers,
Dimitris
Previous Topic:Problem executing ETL using ANT
Next Topic:Module ordering in project explorer
Goto Forum:
  


Current Time: Wed Sep 25 23:55:29 GMT 2024

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

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

Back to the top