Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] diff model to create mapping java?
[EMF Compare] diff model to create mapping java? [message #118923] Thu, 17 April 2008 14:50 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:[EMF Compare] diff model to create mapping java?
Next Topic:[Compare] DiffEngine: Modifying when Conflicting EReferences occur
Goto Forum:
  


Current Time: Thu Jul 03 20:22:48 EDT 2025

Powered by FUDForum. Page generated in 0.05799 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top