The Compare Utility (Diff)

Return to Introduction  Previous page  Next page

Enterprise Architect (Corporate and Professional editions) has a comprehensive and powerful differencing utility built in. This utility enables you to compare a model branch in Enterprise Architect with:

·A Baseline created using the Baseline functionality
·A file on disk, created previously using the Enterprise Architect XMI export facility (must be in Enterprise Architect format and have the same package as the root node)
·The current version controlled XMI file on disk as created when using Version Control in Enterprise Architect

Compare (diff) lets you explore what has changed within a model over time and how previous versions of a model branch differ from what is currently in the model. It is even possible to do a full model compare by exporting all of Model A to XMI, then using Compare to File from within the current model (Model B).

Comparing and checking model development at various points in the process is an important aspect of managing change and development, keeping track of what is being modified and ensuring the development and design process is on track.

Access to the Compare utility is available from:

1.The Baseline dialog (from the Project Browser window context menu, select the Package Control | Manage Baselines option).
2.The Project Browser window context menu; select Package Control | Compare to File.
3.The Project Browser window context menu, select Package Control | Compare with Version on Disk.

See Example Comparison for an example of the results of a model comparison.

Limitations

The following known limitations apply:

·Currently no Print facility to export Compare results to file.