MagicDraw 18.5 Documentation

Skip to end of metadata
Go to start of metadata

In order to export packages, you need to have an Administer Project permission assigned.

Exporting a package to a new server project is necessary, when you need to detach a part of the model from the project. This part can be a library or a fragment of the model simultaneously developed by other team. A part of the model moved to a separate project can later be used in more than one project.

Exporting a package to a separate project is the first step of the model decomposition. It is followed by re-using that project in other projects.

 

To export a package to a new server project


  1. In the Model Browser, right-click the package you want to export.
  2. Select Project Usages > Export Packages to New Server Project. The Export Packages to New Project dialog opens. The package is already selected in this dialog.
  3. Click OK.
  4. When the message asking to show used read-only projects appears, click Yes – this is our recommendation.
  5. When the message asking to check for dependencies between the package and the rest of the model appears, click Yes – this is our recommendation. If the package depends on other projects, eliminate these dependencies before the export.
  6. In the Project Name dialog, do the following:

    1. If you want to, change the default name of the new server project.
    2. Select a category where you want to store the new project.
    3. Add a comment for the project.
    4. Click OK.

  7. Wait while the export completes.

The newly created server project has the structure and the contents of the exported package and is automatically used in the project, from which it was detached. The used project appears under the package Project Usages in the Model Browser, and the exported package no longer appears under the root package in the Model Browser.

Model Browser before and after the package export

You can re-use the newly created server project in other projects.

  • No labels