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 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 |
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