Skip to content

Overview

The LemonTree EA Addin has the functionality to both extract and re-use components of existing models.

All necessary features are available via the "Specialize → LemonTree → Packages" sub-menu or the dashboard.

Dashboard

Terminology

Repository

The term "repository" in the context of the component features of the LemonTree Enterprise Architect Addin refers to a file directory on your local harddrive, which holds all component version files associated with a particular model.

Component

A logical construct which consists of one or more specific packages belonging to a model.

Component Version File

A physical file which contains a specific version of the model data of a component. This file is called LemonTree Component and the file extensions is .mpms

Features

Publish

Import

Revert

Manage

Configuration

Workflows

Publish New Component Version

Prerequisites

  • An Enterprise Architect Model which contains one or multiple packages, which shall be contained in the component version
  • A repository. It may already contain a different version of the component

Steps

  • Open the Manage view
  • Specify components for the packages (changes are saved to the model automatically)
  • Start the Publish action (This will automatically trigger the Repository Configuration action if necessary)
  • (Optional) Click "Show Changes" to show the contents of the created component files in LemonTree
  • Click "Publish"

Import Component Version

Prerequisites

  • An Enterprise Architect Model - it may already contain a different version of the component
  • A repository containing the component version file to import

Steps

  • Open the Import view (This will automatically trigger the Repository Configuration action if necessary)
  • (Optional) Click "Show Changes" to show the parts of the model which will be reverted
  • Any components in your respective repository that have changes will be offered for import.
  • Select any or all offered components and click Import

Revert Changes to Component Version

Prerequisites

  • A repository containting a component version file which has been either published from or imported into the accompanying model
  • A model containing changes to an imported/published component version

Steps

  • Open the Revert view (This will automatically trigger the Configuration action if necessary)
  • (Optional) Click "Show Changes" to show the parts of the model which will be reverted
  • Any components that have changes to revert will be offered
  • Select any or all offered components and click Revert

VCS Integration

The VCS Integration for .mpms-files is still under development.

As such, only diffing .mpms files stored in a VCS repository is currently possible. Until this feature is completely implement, we strongly recommend continuing to store your models directly in your VCS, as there is no support for merging MPMS files.

Since the .mpms are technically JSON files, your VCS may offer you a text-based merge in case of a conflict. Please be aware that manually trying to merge .mpms files in this manner may result in files which are unreadable by LemonTree.

If you need help in setting up your VCS for Enterprise Architect models and components, please do not hesitate to contact our support (support@lieberlieber.com)