How to open an existing MPS project

Hi guys,

I created some MPS projects, and then I experienced an OS reinstallation of my mac. So now, I tried to open the old projects in MPS, but it seems I need to specify the *.mpr file to MPS, but I didn't find such a file. Who knows how to deal with the problem?

Thanks.
0
6 comments
You should just point MPS to the project folder. The ".mps" subfolder contains all the project info.

Vaclav
0
It seems there is no ".mps" subfolder in my project. I attached a snap of the Open Project dialog, which indicates that I need to specify a .mpr file. In the dialog, actually, a new project has a MPS icon if I create it first time in MPS 3.2 , while an earlier project "ChoiceLanguage" cloned from Github (still created with MPS 3.2) does not have such an icon in the Open Project dialog. In this case, how can I open that old project in MPS 3.2? Thanks.

open-mps-project.jpg
0
If your folder is missing the .mps folder, it cannot be open as a project in MPS. All the project info is stored in the .mps folder. It probably got deleted somewhere along the way.
You'll have to create a new project in the folder and add your modules to it manually.
0
Ok, I see. Thanks :)
0

When you experience an OS reinstallation and need to open old MPS (Meta Programming System) projects, you might face difficulties if the expected .mpr files are missing. Here are some steps to help you recover and open your projects:

  1. Check Project Structure: Ensure that your project directory still contains all necessary files and folders. An MPS project typically includes directories like models, solutions, modules, and project metadata files.
  2. Recreate .mpr File:
    • If the .mpr file is missing, you can try recreating it manually. An .mpr file is essentially a project file that contains metadata about your MPS project.
    • Create a new MPS project with the same name and structure as your old project.
    • Copy the models, solutions, and other necessary directories from your old project into the new project directory.
    • Open MPS and let it detect the existing models and solutions in the project directory.
0

To open an existing MPS (Meta Programming System) project, begin by launching the MPS IDE. Once the application is open, navigate to the "File" menu located at the top left corner of the screen. Select "Open" from the dropdown menu. In the file dialog that appears, browse to the directory where your MPS project is stored, select the project braces stoke on trent file (usually with a .mps extension), and click "Open."

0

Please sign in to leave a comment.