[Uml-devel] versionizing XMI files

Daniel Franke franke.daniel at gmail.com
Mon Jul 10 16:01:51 UTC 2006


Hi all.
I would like to versionize the UML files written by umbrello in CVS.
To do so, I decided to keep each diagram within a file of its own and
add those files to a CVS repository. From those files, EPS are created
using the export switch at the command line. The EPS files will in
turn be included in a document written in latex, their respective
caption shall be the corresponding CVS Id. The latter is the tricky
part.

At first, I added an XML comment (<!-- $Id$ --> ) to the XMI file but
umbrello removed it when saving the file. Then, I added $Id$ as a
"documentation" of the diagram iself, i.e.
     <docsettings viewid="275" documentation="$Id$" uniqueid="338" />
This should work as I can use XSLT to access the documentation-attribute.

Nevertheless, this does not look like the intended way to do this. Is
there any other, more intuive, way to add CVS Ids to XMI files?

Thanks in advance.

With kind regards
     Daniel


P.S. Please CC me in your replies as I'm not subscribed to the list - thanks!




More information about the umbrello-devel mailing list