Execute migration with Edapt [message #897817] |
Wed, 25 July 2012 05:40  |
Eclipse User |
|
|
|
Hello!
I installed the project Edapt http://www.eclipse.org/edapt/, creates the history of my ecore model and prepared a new "release Edapt". In the tutorial http://www.eclipse.org/edapt/libraryexample.php I'm at the point "Migrator".
I.e. the execution of operations to convert my data files from old to new Ecore model.
Quote:The migration execution can be integrated directly into the editor code, as Listing 3 shows. The method checkMigration must be called at the beginning of the method createModel in the library editor.
But i don't have the méthod "createModel", because i don't have the project "xxx.editor". i have the xxx.model (with .ecore), xxx.edit and xxx.diagram (generated with .gmfgen).
I don't find how launch the migration with Edapt...
Any suggestions?
|
|
|
|
|
|
|
|
|
Re: Execute migration with Edapt [message #1771126 is a reply to message #1771061] |
Tue, 22 August 2017 05:56  |
Eclipse User |
|
|
|
Hi Johannes,
Thank you very much for your kind reply. Given that some of us (me included) are new to EMF and Edapt that is why we couldn't follow the tutorial successfully. I know that for people already familar with EMF, it could be straightforward to follow such a tutorial.
Thanks once more.
Btw, my NPE issue has not yet resolved :-( I replied to your message from the other post and attached my trial version of the library. Here I re-attached the project and I do very much appreciate if you could take a look and see what is wrong with it. I compared it to the sample library project which ships with EDapt 1.2.2, but could not find the source of the problem. Your help is highly appreciated.
Thanks,
Jaff
|
|
|
Powered by
FUDForum. Page generated in 0.03831 seconds