[EMF Compare] diff model to create mapping java? [message #118923] |
Thu, 17 April 2008 14:50  |
Eclipse User |
|
|
|
Hi guys,
I've seen how I can use Compare against two versions of an ecore model
and get a diff list. Is there any project or effort that can take that
diff list and generate code to 'upgrade' an instance xml of ecoreV1 to
ecoreV2? I'd expect I'd have to fill in method definitions, but some
kind of starting template would be great.
Just checking before I start building something that's already been
thought of. My end goal is to let the XML being sent to version 1 of a
web service be automatically upgraded to match what's needed by version
2 of a web service.
Thanks,
Jason Henriksen
|
|
|
Re: [EMF Compare] diff model to create mapping java? [message #118962 is a reply to message #118923] |
Fri, 18 April 2008 01:14  |
Eclipse User |
|
|
|
It doesn't involve EMFCompare, but you might want to look into EMF's
"ecore2ecore" mapping. There's not a lot of documentation about it, but
the "data migration" scenario on the EMF Recipes page may be of help:
http://wiki.eclipse.org/EMF/Recipes#Recipe:_Data_Migration
Thanks,
Matt
jason henriksen wrote:
> Hi guys,
>
> I've seen how I can use Compare against two versions of an ecore model
> and get a diff list. Is there any project or effort that can take that
> diff list and generate code to 'upgrade' an instance xml of ecoreV1 to
> ecoreV2? I'd expect I'd have to fill in method definitions, but some
> kind of starting template would be great.
>
> Just checking before I start building something that's already been
> thought of. My end goal is to let the XML being sent to version 1 of a
> web service be automatically upgraded to match what's needed by version
> 2 of a web service.
>
> Thanks,
>
> Jason Henriksen
|
|
|
Re: [EMF Compare] diff model to create mapping java? [message #617831 is a reply to message #118923] |
Fri, 18 April 2008 01:14  |
Eclipse User |
|
|
|
It doesn't involve EMFCompare, but you might want to look into EMF's
"ecore2ecore" mapping. There's not a lot of documentation about it, but
the "data migration" scenario on the EMF Recipes page may be of help:
http://wiki.eclipse.org/EMF/Recipes#Recipe:_Data_Migration
Thanks,
Matt
jason henriksen wrote:
> Hi guys,
>
> I've seen how I can use Compare against two versions of an ecore model
> and get a diff list. Is there any project or effort that can take that
> diff list and generate code to 'upgrade' an instance xml of ecoreV1 to
> ecoreV2? I'd expect I'd have to fill in method definitions, but some
> kind of starting template would be great.
>
> Just checking before I start building something that's already been
> thought of. My end goal is to let the XML being sent to version 1 of a
> web service be automatically upgraded to match what's needed by version
> 2 of a web service.
>
> Thanks,
>
> Jason Henriksen
|
|
|
Powered by
FUDForum. Page generated in 0.05799 seconds