Record changes [message #1748791] |
Mon, 28 November 2016 10:50  |
Eclipse User |
|
|
|
Hi,
I need to change UML model(deployment diagram) for example adding more devices,deleting device,moving artifact from device to another or delete device or adding more artifacts.Is there any tool or option that can record the changes that i have made automatically??
i tried to use EMFCompare for ecore models but i have UML models and i tried the option (compare with) i didn't understand how it works .I created two version of deployment diagram S and S2 and i choose the option compare with each other.
Can you please advise me how can i record all changes that have made to UML model.
Thanks,
Taghreed
|
|
|
|
|
Re: Record changes [message #1749136 is a reply to message #1748902] |
Fri, 02 December 2016 03:54   |
Eclipse User |
|
|
|
Hi,
did you attach the correct screenshots? To me, both look equal.
You are using XMI:IDs and, I assume, the IdentityBasedMatcher will be used. Thus, you have to make sure that you only compare two versions of the same model (one is a modification of the other). Because if you compare two independent models, which have the same content, but which have been created separately, the models will have different XMI:IDs and, hence, will not be matched as you expect it. For the IdentityBasedMatcher, different XMI:ID means different EObject, means deletion/addition.
You could try to use git and the builds from collaborative-modeling.org (update sites [1] and [2]). This way you can create commits/branches that contain different states of your model in your git repo, which would allow you to compare those different branches (right-click on the model, compare with, Branch, ...).
Best wishes,
Philip
[1] http://download.eclipse.org/modeling/emf/compare/updates/logical/emf.compare/integration (integration custom build of EMF Compare over custom build of EGit)
[2] http://download.eclipse.org/modeling/emf/compare/updates/egit-logical/integration (integration custom build of EGit)
--
Philip Langer
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04811 seconds