Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF compare](first step)
[EMF compare] [message #645035] Wed, 15 December 2010 05:09 Go to next message
No real name is currently offline No real name
Messages: 42
Registered: December 2010
Member
Hi,
how can I use EMF Compare?
are there any tests to compare two classes meta-model?
the result of comparaison is as what?
Re: [EMF compare] [message #646291 is a reply to message #645035] Thu, 23 December 2010 03:22 Go to previous messageGo to next message
Philip Langer is currently offline Philip Langer
Messages: 30
Registered: July 2009
Member
Hi,

On 2010-12-15 11:09, ST wrote:
> Hi,
> how can I use EMF Compare?

Select two or three modeling resources and klick Compare -> with each
other. You might have to configure the content types of the modeling
resources in the EMF Compare preferences. Cf.
http://wiki.eclipse.org/Installing_and_Using_EMF_Compare

> are there any tests to compare two classes meta-model?

What do you mean with tests? JUnit tests?

Basically, if you only want to compare two classes of a meta-model, you
will have to use the EMF Compare API programmatically.
See the API Doc for creating a Match...
http://bit.ly/g05Tnq

and performing the Diff from a Match:
http://bit.ly/f8Hp3z

> the result of comparaison is as what?
The result of a diff is a DiffResourceSet:
http://bit.ly/g7xT5s

Hope that helps!

Cheers,

Philip
icon14.gif  Re: [EMF compare] [message #646320 is a reply to message #646291] Thu, 23 December 2010 05:40 Go to previous message
No real name is currently offline No real name
Messages: 42
Registered: December 2010
Member
thank you Philip, that help me to start.

[Updated on: Thu, 23 December 2010 05:40]

Report message to a moderator

Previous Topic:[EMF Compare] Standalone mode with adapting comparison process
Next Topic:[EMF ECORE] EMF model
Goto Forum:
  


Current Time: Mon Jul 28 20:49:07 EDT 2014

Powered by FUDForum. Page generated in 0.07666 seconds