|
Re: Edapt: How to specify namespace URI for different versions of a meta-model [message #777250 is a reply to message #776540] |
Tue, 10 January 2012 06:06 |
Markus Herrmannsdoerfer Messages: 50 Registered: July 2009 |
Member |
|
|
Hi Elvis,
in the tutorial, I write the following text:
"Edapt automatically prompts the user through a dialog, whether the
namespace URI should be adapted. Since in EMF the namespace URI is used
for recognizing the metamodel version, the adaptation should be
performed in most cases. By changing the namespace URI for new releases,
Edapt can automatically detect the metamodel version of models and
migrate them suitably. Of course, there are also cases where one does
not want to adapt the namespace URI. Then, the user must, however, care
for the recognition of the metamodel version themselves."
So the idea is to change the namespace URI whenever you need to perform
a migration. However, you could also be more strict and say that you
want to change the namespace URI whenever you change the metamodel to
know with which metamodel version your model was build.
Does that answer your question?
Cheers,
Markus
Am 08.01.2012 19:09, schrieb Elvis Dowson:
> Hi,
> I was reading the Edapt tutorial
> http://www.eclipse.org/edapt/libraryexample.php
>
> and was wondering how you can specify a different namespace URI, to
> distinguish between different versions of my EMF meta-model?
>
> What are the situations in which I would
> a. need a different namespace URI ?
>
> b. choose to keep the same namespace URI ?
>
> Elvis Dowson
|
|
|
Powered by
FUDForum. Page generated in 0.02882 seconds