Book a Demo

Author Topic: XMI import combined with SVN configuration info  (Read 4104 times)

aloeffen

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
XMI import combined with SVN configuration info
« on: November 27, 2012, 11:42:56 pm »
Dear EA people,
 
Is there a way to import an XMI 1.1 file into EA 8+ such that all version management info is retained in the EA result?
Rephrased: can we "copy" an SVN-based EA project from one place to another using XMI 1.1?
 
I have a template ("empty") EA file that is connected to a SVN configuration. So any package added can also be added to SVN version control.
Now I have exported the XMI from an EA project that has the exact same SVN configuration.
So it would be feasible to export and import, without loss of the version control link.
Looking at the XMI this seems to be feasible, as the necessary SVN info seems to be part of the export; however, the import doesn't work: the version control link is lost.
 
Code: [Select]
<UML:Package name="XXX" ...>
    ...
        <UML:ModelElement.taggedValue>
        ...
          <UML:TaggedValue tag="iscontrolled" value="TRUE"/>
              <UML:TaggedValue tag="xmlpath" value="XXX.xml"/>
        ...
          <UML:TaggedValue tag="xmiver" value="Enterprise Architect XMI/UML 1.3"/>
        ...
          <UML:TaggedValue tag="packageFlags" value="Recurse=0;VCCFG=YYY-control;"/>
        ...
             
In this XMI 1.1 example fragment the SVN configuration name is YYY-control and the package is stored under XXX.xml in the svn repository.

Note: I seek this solution in the context of an automation process (java, through SSJavaCOM.dll).

Thanks in advance.
Arjan