[EGit] Comparison problem with profiled model [message #1747383] |
Mon, 14 November 2016 04:02  |
Eclipse User |
|
|
|
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 06:42   |
Eclipse User |
|
|
|
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/
|
|
|
|
|
|
Re: [EGit] Comparison problem with profiled model [message #1749130 is a reply to message #1749080] |
Fri, 02 December 2016 03:26  |
Eclipse User |
|
|
|
Hi Tristan,
good that it works well.
Regarding the long-running job... what exactly do you mean with long?
There are a few tweaks you could try in the preferences. E.g., do you use the Scalable Conflict Detector (I'd recommend this one over the default)? If you know that your model does not reference anything outside of its own project, you could set the model resolution scope to Project instead of workspace.
Hope this helps,
Philip
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
Powered by
FUDForum. Page generated in 0.09772 seconds