Wanting to import an E2E Library into your current Builder project, select Import > E2ELibrary from the E2E Model Compiler menu.
Details about advantages and usages of E2E Libraries can be found in the Reference Guide.

Navigate to the .lrep file which is the repository of your compiled E2E Library.

Select it, and click OK.

After clicking OK, the E2E Builder starts the import process.

Select the UML model you want to import the library into.

After the import, in the File View of the E2E Model Compiler you will notify a new file having the name <libraryname>.import.xml located in the folder uml/imports of your current builder project.

The containment tree now contains the imported E2E Library. All necessary components to use the library are provided.

The imported library can now be used by calling their provided operations.

In the component diagram of your xUML service, the library has to be defined like any other backend service.
Refer to Defining Backend Aliases for more information about defining backends with the E2E Components Wizard.

When compiling the service, the compiler adds the repository of the E2E Library to the repository of the xUML service using the library. The repository of the E2E Library is located in the folder libs of the current builder project as a .lrep file. Actually, it is a local copy of the file that has been imported before.

When applying the function Clean All on a Builder project, the lrep-file in the libs folder is not deleted.

Updating xUML Service Libraries

A new version of a library being available and wanting to update the library in the project, just re-import the updated library using the import functionality as described before.

Then, the importer will overwrite the import.xml file in the imports-folder and the lrep file in the libs-folder of your builder project. This done, the containment tree will show the updated components of the imported library.

The importer will notify about version changes and will wait for user action to Continue or Abort.

On this Page:
  • No labels