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

Version Control of Model Data

When applying Version Control in Enterprise Architect, you place individual model Packages under Version Control, and not the project as a whole.

All Enterprise Architect models are stored in databases - even the .eap file is an MS Jet database. In simple terms, the project file is a single entity of binary data. Being binary data, the project file would require the use of the lock-modify-unlock model of Version Control, which would mean that only a single user at a time could work on any given (Version Controlled) model. Therefore, it is not practical to apply Version Control to the database (.eap file) as a whole; this can also create problems for you in that:

  • Most Version Control systems mark their controlled files as read only, unless they are specifically checked-out to you
  • The .eap file is an MS Jet database, and Enterprise Architect must be able to open this file for read/write access when you load your model; if the model is read-only, the system displays an error message and fails to load the model

Version Controlling Packages in your Model

To overcome these limitations, Enterprise Architect exports discrete units of the model - the Packages - as XMI Package files, and it is these XMI files, not the project file, that are placed under Version Control. The XMI file format used by Enterprise Architect dictates that they too be treated as binary files - therefore it is not possible to merge the XMI files either; however, by splitting the model into much smaller parts, many users can work on separate parts of the model simultaneously.

Version Controlled Nested Packages

Version Controlled nested Packages result in much smaller XMI files being exported, as the parent Packages' XMI files do not contain any content for the Version Controlled child Packages.

Version Control of nested Packages, together with a model structure of small individual Packages, provides greater scope for multiple users to work concurrently, as individual users are locking much smaller parts of the model.

Learn more