Manual Version Control with XMI

You can use XMI to support version control by writing model elements in XML text files suitable for use with standard version control software.

Using XMI in this manner enables you to manually connect to third-party version control software outside the Enterprise Architect environment.

Enterprise Architect internally supports the configuration of version control through SCC and CVS configurations.

How to

Before using XMI for version control

Step

Action

See also

1

Select suitable packages in the Project Browser, to be marked as controlled packages.

 

 

2

Configure these with filenames that are visible to a version control system of your choice.

 

Configure Packages

3

Save the controlled packages to establish a model base and check these into the version control system.

 

Save a Package

 

To apply version control

Step

Action

See also

1

Continue working on a package until versioning is required.

 

 

2

Check out the package XMI file from the version control system.

 

 

3

Save the relevant package using the controlled package support.

 

 

4

Check the package back into the version control system.

 

 

 

To recover an earlier version

Step

Action

See also

1

Save the current version first.

This is important, because the package is completely deleted during the import process.

If necessary, manually update the version control system.

 

 

2

Get the required package version from the version control system.

 

 

3

Select the package to reload.

 

 

4

Select the Package Control | Load package from file menu option to import the previous version.

Enterprise Architect deletes the controlled package and restores the previous version.

 

Load a Package

Learn more