Require thoughts on upgrading an EMF modelhttps://www.eclipse.org/forums/index.php/mv/msg/457904/1016330/#msg_1016330
I am seeking some suggestions on the approach for upgrading a released EMF model. Here is the scenario:

I am part of a team that is expected to publish a base domain model as an Ecore model as an Ecore file and this would be consumed by other teams who can choose to embellish it as per their specific requirements.

The base domain model would however also keep changing as I get new requirements. How do I ensure that when the other teams take my new version, they will have minimal work and problems in merging my new version with their changes on the older version? Any suggestions?

On 07/03/2013 1:34 AM, Sathya Sekar wrote:
> Hello all,
>
> I am seeking some suggestions on the approach for upgrading a released
> EMF model. Here is the scenario:
>
> I am part of a team that is expected to publish a base domain model as
> an Ecore model as an Ecore file and this would be consumed by other
> teams who can choose to embellish it as per their specific requirements.
>
> The base domain model would however also keep changing as I get new
> requirements. How do I ensure that when the other teams take my new
> version, they will have minimal work and problems in merging my new
> version with their changes on the older version? Any suggestions?
In general you should strive to produce source compatible APIs. So
don't rename or remove things (deprecate them if necessary) and only add
new things (classes, data types, features, operations). It's always
harder to manage the case of clients extending the model; they'll often
need to regenerate their model, or at least recompile it.
>
> Thanks.]]>Ed Merks2013-03-07T06:59:17-00:00