Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » EMF Compare(EMF Compare in standalone mode)
EMF Compare [message #1090727] Tue, 20 August 2013 15:03 Go to next message
Julio Sandobalin is currently offline Julio SandobalinFriend
Messages: 12
Registered: August 2013
Junior Member
Hi guys,

I'm starting to use EMF Compare, my objetive is to run EMF Compare in standalone mode with code Java. I searched information but not found a one full example how to run EMF Compare in standalone mode.

Can help me with information on the subject or an example to run EMF Compare in standalone mode.

Thanks in advance for your help.

Regards.
Re: EMF Compare [message #1091509 is a reply to message #1090727] Wed, 21 August 2013 15:59 Go to previous messageGo to next message
Mikael Barbero is currently offline Mikael BarberoFriend
Messages: 55
Registered: July 2009
Member
Hi Julio,

What do you mean by "standalone mode"? Is it without any UI ? Is it outside Eclipse ? Could you please be more precise ?

BTW, there is a bunch of documentation about how to use EMF Compare on this wiki page http://wiki.eclipse.org/EMF_Compare/User_Guide and a bunch of information about how to reuse and/or extends EMF Compare as a framework http://wiki.eclipse.org/EMF_Compare/Developer_Guide

HTH


Best regards,

Mikael Barbero
Obeo
Re: EMF Compare [message #1116272 is a reply to message #1091509] Wed, 25 September 2013 07:15 Go to previous messageGo to next message
Amit Kumar is currently offline Amit KumarFriend
Messages: 12
Registered: May 2013
Junior Member
Hi Julio,
Can you please give us more details on how you are trying to use emf compare or where are you stuck ? I have used emf compare 1.2 in standalone mode and maybe I can help if I know more about your problem.

--
amit

Re: EMF Compare [message #1116333 is a reply to message #1090727] Wed, 25 September 2013 09:05 Go to previous messageGo to next message
Julio Sandobalin is currently offline Julio SandobalinFriend
Messages: 12
Registered: August 2013
Junior Member
Hi Mikael,

Thanks for you reply, "standalone mode" means that I want run EMF Compare with classes java (e.g. http://wiki.eclipse.org/EMF_Compare/FAQ#How_can_I_use_EMF_Compare_programmatically.3F ). I want run EMF Compare in eclipse but with pluggin of EMF Compare. My objetive is extend and overwrite the classes java of EMF Compare to add metrics in the comparison result in basis the research of my final work of Master named "Model Comparison". Nowadays, the example above is run with the plugins:
com.google.guava_11.0.2.v201303041551.jar
org.eclipse.emf.common_2.9.0.v20130528-0742.jar
org.eclipse.emf.compare_3.0.0.201306101322.jar
org.eclipse.emf.compare.rcp_2.1.0.201306101322.jar
org.eclipse.emf.ecore_2.9.0.v20130528-0742.jar
org.eclipse.emf.ecore.xmi_2.9.0.v20130528-0742.jar
org.eclipse.uml2.common_1.8.0.v20130610-0712.jar
org.eclipse.uml2.types_1.1.0.v20130610-0712.jar
org.eclipse.uml2.uml_4.1.0.v20130610-0712.jar
I have been studying the code java of the EMF Compare for add metrics in the comparison result. Can you help me with information on the subject ?

Thanks in advance for your help.

Regards.
Re: EMF Compare [message #1116338 is a reply to message #1116272] Wed, 25 September 2013 09:14 Go to previous messageGo to next message
Julio Sandobalin is currently offline Julio SandobalinFriend
Messages: 12
Registered: August 2013
Junior Member
Hi Amit,

Thanks for you reply, my goal is extend and overwrite the classes java of EMF Compare to add metrics in the comparison result in basis the research of my final work of Master named "Model Comparison". Nowadays, the example http://wiki.eclipse.org/EMF_Compare/FAQ#How_can_I_use_EMF_Compare_programmatically.3F is run with the plugins:

com.google.guava_11.0.2.v201303041551.jar
org.eclipse.emf.common_2.9.0.v20130528-0742.jar
org.eclipse.emf.compare_3.0.0.201306101322.jar
org.eclipse.emf.compare.rcp_2.1.0.201306101322.jar
org.eclipse.emf.ecore_2.9.0.v20130528-0742.jar
org.eclipse.emf.ecore.xmi_2.9.0.v20130528-0742.jar
org.eclipse.uml2.common_1.8.0.v20130610-0712.jar
org.eclipse.uml2.types_1.1.0.v20130610-0712.jar
org.eclipse.uml2.uml_4.1.0.v20130610-0712.jar

I have been studying the code java of the EMF Compare for add metrics in the comparison result. Can you help me with information on the subject ?

Thanks in advance for your help.

Regards.
Re: EMF Compare [message #1117213 is a reply to message #1116338] Thu, 26 September 2013 07:53 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
Julio,

Quote:
I searched information but not found a one full example how to run EMF Compare in standalone mode.


All documentation is available on the EMF Compare wiki, including information on how to use EMF Compare standalone.

You have not explained what you are trying to do, and how you do not manage to do it.

Judging by the list of plugins in your last post, you either have too many or too little. If your target models are UML models, you will have to look into how to load UML models in a standalone environment. You will also need to setup the UML comparison support (org.eclipse.emf.compare.uml* plugins) if you wish for the best results. Then again, UML uses UUIDs, so there is no meaning in using metrics to match the models together; so I guess the metrics you wish to "add in the comparison results" are kind of a report about the differences found? If so, you might want to look into Model-to-Text technologies such as Acceleo to generate the report from the comparison result model.

Laurent Goubet
Obeo
Re: EMF Compare [message #1117292 is a reply to message #1117213] Thu, 26 September 2013 09:27 Go to previous message
Julio Sandobalin is currently offline Julio SandobalinFriend
Messages: 12
Registered: August 2013
Junior Member
Hi Laurent,

Thanks for your reply.

Regards,

Julio
Previous Topic:EMF Compare
Next Topic:Refreshing diffmodels in EMF Compare 1.2 UI after successful merge
Goto Forum:
  


Current Time: Thu Apr 25 16:19:24 GMT 2024

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

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

Back to the top