Dealing with large models, the ISO20022 case [message #1797700] |
Mon, 05 November 2018 11:53 |
|
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 |
|
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 |
|
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 #1797967 is a reply to message #1797723] |
Fri, 09 November 2018 10:08 |
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04637 seconds