[EGit] Comparison problem with profiled model [message #1747383] |
Mon, 14 November 2016 09:02 |
Tristan Faure Messages: 460 Registered: July 2009 |
Senior Member |
|
|
Hello
I have a problem with comparison please see bellow for details :
My configuration : egit, papyrus, and emf ecompare (with model comparison - Egit, UML2 and Papyrus support)
My workspace :
project1\Model.uml
project1\Model.notation
project1\Model.di
profileProject\profile.uml
profileProject\profile.notation
profileProject\profile.di
I have one local branch on git
I made some modifications on Model.uml,
I double click on Model.uml in git staging view
I enable Compare mode in Git Tree Compare
I double click On Model.uml
>> I got errors : Problems occured while loading resources from the right side
>>> FileNotFoundException : ..\profileProject\profile.uml
I have the same problem if the profile is contained in the same project
Do i forget something ?
|
|
|
|
|
|
|
Re: [EGit] Comparison problem with profiled model [message #1747487 is a reply to message #1747437] |
Tue, 15 November 2016 11:42 |
|
Hi Tristan,
you don't seem to use the special "collaborative modeling" builds of EGit and EMF Compare, right?
I recommend to install the features from the update-sites of the integration builds of EMF Compare and EGit listed collaborative-modeling.org and apply the preference setting as described in the section "Documentation" on the collaborative-modeling.org page. With those builds and the mentioned settings, the resolution of referenced models on the remote side should work. With the normal releases of EGit, this won't work and EMF Compare will always get the workspace version of the resolved models that are referenced from the model that you intended to compare, because in the official release of EGit, this mechanism (so called "logical model" support) is not fully implemented yet.
Moreover, comparisons started from the Git staging view is not well supported yet unfortunately, due to difficult extensibility of the Staging view. I'd recommend to start the comparison by right-clicking on the Papyrus model and open compare-with HEAD revision. When starting the comparison like that, the resolution of all referenced models should work as expected.
Hope this helps!
Best wishes,
Philip
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04140 seconds