|
|
Re: Execute migration with Edapt [message #1046891 is a reply to message #897903] |
Mon, 22 April 2013 14:01 |
Niels Brouwers Messages: 80 Registered: July 2009 |
Member |
|
|
Hi,
just like the starter of this topic, I am experiencing problems trying to execute the migrator. I am following the Edapt tutorial as found on the website.
What I've done so far:
- Created an example ecore model
- Created a 1.0 release (also reflected in the nsUri) with Edapt
- Generated all the model, edit and editor plugins from the ecore model
- Started up a new Eclipse instance and tested the creation of a model instance using the generated editor
- Made a small modification to the meta-model, and created a 1.1 release with Edapt, including changing the nsUri.
- Verified to see whether the model instance created earlier could not be opened in the run-time instance due to the NsUri being changed.
- Then, tried to modify the editor code in the createModel method to execute the model migrator. Opening the model with the modified editor now results in the error message "No migrator found".
Debugging the code it became clear the the MigratorRegistry does not contain a suitable migrator for the 1.0 version of the meta-model. I've looked at implementing the 'org.eclipse.emf.edapt.migrators' extension point, but fail to achieve in this.
Can someone please look at the enclosed attachment and see what I am doing wrong here? Furthermore, is there any documentation besides the tutorial available? The documentation link on the website points to a non-existing website.
Thank you in advance!
Kind regards,
Niels Brouwers.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04373 seconds