Print Page | Close Window

Move project to different repository

Printed From: MetaCase
Category:
Forum Name: MetaEdit+
Forum Description: All topics relating to MetaEdit+ or DSM
URL: https://www.metacase.com/forums/forum_posts.asp?TID=947
Printed Date: 26.Mar.2026 at 22:50
Software Version: Web Wiz Forums 12.05 - http://www.webwizforums.com


Topic: Move project to different repository
Posted By: edward22243
Subject: Move project to different repository
Date Posted: 12.Jul.2022 at 12:46
I want to share a project which is currently in a repository with some other projects.

I do not wish to share the other projects so would it be possible to move (or copy but less preferable) this project to a new empty repository. If yes how?

Also would I be able to provide everybody access to that new repo (because now I login with "Other" and use my username and password, and I do not wish to share my password). I know the "demo" repository allows everybody to access, such functionality would be great.

I could not find (but mybe did not search good enough) any documentation about this.

Greetings, Edward



Replies:
Posted By: stevek
Date Posted: 12.Jul.2022 at 13:40
Two main approaches: 
  • https://metacase.com/support/55/manuals/meplus/Mp.html#Mp-5_3_1.html" rel="nofollow - Export to a new repository the bits you do want
  • Copy the repository and remove the bits you don't want ( https://metacase.com/support/55/manuals/meplus/Mp-3_2_5.html" rel="nofollow - models , https://www.metacase.com/support/55/manuals/sysadmin/sa.html#sa-2_5.html" rel="nofollow - metamodels , https://metacase.com/support/55/manuals/sysadmin/sa.html#sa-2_3_3.html" rel="nofollow - projects ) then https://www.metacase.com/support/55/manuals/sysadmin/sa.html#sa-2_3_2.html" rel="nofollow - garbage collect
The former is normally easiest:
  1. Login and open just the project you want to share
  2. Press the  https://metacase.com/support/55/manuals/meplus/Mp.html#Mp-5_3_1.html" rel="nofollow - Export  button on the toolbar (or choose Browsers | Graph Manager)
  3. Select All the graphs you want to export
  4. Press the -> button to calculate the list of graph contents to be exported
  5. Press Save as Patch and give a .mec filename
  6. You will also be prompted to give a unique name for this repository: giving the same name on later exports will allow a repository that imported to recognize the later export as from the same repository, and update the previously imported models (rather than creating duplicates).
The export will include the metamodels (and supertypes) for the selected models. If you also want some other graph types that do not have instances, repeat in Metamodel | https://metacase.com/support/55/manuals/mwb/Mw.html#Mw-7_2.html" rel="nofollow - Type Manager to get a .met file. If your metamodels make use of Library Symbols, export those to an .mxs file with Metamodel | https://metacase.com/support/55/manuals/mwb/Mw.html#Mw-3_6.html" rel="nofollow - Symbol Browser | Export.

To build a new repository:
  1. Open a new MetaEdit+ and choose File | https://www.metacase.com/support/55/manuals/sysadmin/sa.html#sa-2_1_3.html" rel="nofollow - Create Repository
    • Enter sysadmin as the username and password, if you want users to be able to login without needing to supply a password
    • You can create additional users (e.g. user) in Repository | Options | https://www.metacase.com/support/55/manuals/sysadmin/sa.html#sa-2_1_3.html" rel="nofollow - User page
  2. Create a project (or one project for types and another for instances) with Repository | https://www.metacase.com/support/55/manuals/sysadmin/sa.html#sa-2_1_3.html" rel="nofollow - New Project...
  3. Press the toolbar Import button or choose Repository | Import to https://www.metacase.com/support/55/manuals/meplus/Mp.html#Mp-5_3_2.html" rel="nofollow - import .met, .mxs and .mec files in turn (selecting the appropriate project as default before each)


Posted By: edward22243
Date Posted: 12.Jul.2022 at 13:46
thanks for the quick answer. Just found out that if I add a "user" with password "user" the option is activated (and same for sysadmin).


Posted By: edward22243
Date Posted: 12.Jul.2022 at 14:07
Success. Thanks for the writeup.Smile



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.05 - http://www.webwizforums.com
Copyright ©2001-2022 Web Wiz Ltd. - https://www.webwiz.net