Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

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.

Prepare for using XMI for Version Control

Step

Action

See also

1

Select suitable Packages in the Browser window, 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

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.

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