|
Re: [EMFStore][Edapt] Meta Model evolution [message #1727046 is a reply to message #1726949] |
Fri, 18 March 2016 12:46 |
|
Hi Phil,
when EMFStore migrated there was no Edapt 1.0 release in sight. So we dropped the support for the edapt migration with 1.x.
Currently we are in process of reviving the Edapt Support as part of a sponsored development contract. This will have the following limitations:
- Migration will be possible on server-side only
- Checking out older versions of the metamodel will only be possible for versions, where the full projectstate was persisted. (There will be a configuration option allowing to save projectstates for all tagged versions.)
- Operations will be migrated in a way that they can be loaded, so that the history view data will still be valuable.
Kind regards
Johannes
Johannes Faltermeier
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
|
|
Re: [EMFStore][Edapt] Meta Model evolution [message #1780484 is a reply to message #1780260] |
Tue, 23 January 2018 08:22 |
|
Hi,
this was introduced with EMFStore 1.8 and requires Edapt 1.2 or higher.
In order to trigger a migration on server side, there is a special VM argument. Add the emfstore.migration=true VM argument to your server launch configuration. With this option the server will start in a migration mode, meaning that it will check if a migration is required, perform the migration, and stopping itself right after the migration was performed. Then you may start it regularly again.
Enabling the full project state persistence when a version is tagged, can be done via an extension point on server side:
<extension
point="org.eclipse.emf.emfstore.server.resourceOptions">
<resourceOptions
saveProjectStateOnTag="true">
</resourceOptions>
</extension>
For client side migration we suggest a process which notifiers users to commit pending changes, then migrate the server and roll out clients with the new model, where users will start with fresh checkout.
Cheers
Johannes
Johannes Faltermeier
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
[Updated on: Tue, 23 January 2018 08:23] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 1.04369 seconds