When we made initial release of our model we had the following model 1. Person:String:Name,String :Address 2. Version : 1.0
so export /import was easy using EMF's persistent APIs(Storing them as xmls).
Now we have changed the model to 1. Person :String:Name,Address 2. Address: String:House Number, String:Stree Name, String:City 3. Version : 2.0
The same thing explained below
Now how to support older xml files(which are exported using old model) in the new Model.
Is there any support in EMF to do this?
There are some tools/frameworks to help with model migration. Edapt is probably the most well-known (and an official Eclipse project). Basically, it includes tooling and runtime support that tracks the history of your metamodels and can migrate instances at runtime. There was a talk about it at EclipseCon earlier this year.
I've also heard of another project, EMF Migrate, but I don't know much about it.