La Utilidad de Comparación (Diff)


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

  1. A Baseline created using the Baseline functionality
  2. A File on disk, created previously using the EA XMI export facility (must be in EA format and have the same package as the root node)
  3. The current version controlled XMI file on disk as created when using Version Control in EA

Compare (diff) lets you explore what has changed within a model over time and how previous versions of a model branch differ to 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 context menu, select Package Control | Manage Baselines ).
  2. From the Project Browser context menu, select Package Control | Compare to File.
  3. From the Project Browser 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:

  • Diagram compare is currently not supported.
  • Differencing very large package structures can be slow. It is recommend that you set the Deep Compare check box to false.
  • Currently no "Print" facility to export Compare results to file.