My project team is currently working on a modelling project for a mid-sized piece of software with Visual Studio 2010. We are using AnkhSVN for source control.
We are not editing files concurrently, we only edit different files in the same project.
Sadly, after each commit, there are a lot of conflicts in a file with the ending .uml, located in a folder with the name ModelDefinition. This file seems to be changed whenever any diagramm in the whole solution is changed.
If we put this file on the SVN ignore list, so we can work on the modelling project concurrently, all files in the subversion are displayed as blank files.
Is there a way aroud this dilemma, so we can edit our modelling project simultaneously by using SVN?
MSDN has instructions for sharing modeling projects. Basically, you have to organize the modelling elements into packages in the UML Model Explorer. If you put the elements into different packages, they will also be put in different .uml files.
The quickest way I’ve found to reorganize an existing diagram is to create a new package in the Model Explorer, set the Linked Package property of the diagram you want to move to the new package, select everything in the diagram, copy it, delete it, and paste it again.