Install SoaMLDesigner on a macOS Modelio project
I’ve been trying to install SoaMLDesigner for Modelio on macOS for a few hours now, but I couldn’t find a way to install it on my project. I tried to follow this tutorial to install it, but I didn’t work on macOS: either some menus were missing, or were grayed out… I finally did it by toying around with the configuration files, so here’s how I did it.
First, open the
~/.modelio/[version number]/modules/folder. In this folder, every folder contains a Modelio module - you have to find the one that contains a
SoaMLDesignerfolder. You can help yourself with the command
tree -L 2if you have
treeinstalled on your computer.
Go inside that
SoaMLDesignerfolder. In the
module.xmlfile, the root DOM element of
Moduletype has an attribute called
version(3.5.02 in my case). Copy the value of the attribute. Now, copy also the full address of the file in the folder that has a
.jmdacextension, and add
file://at the beginning of the address. It should look like this:
Now, we’re going to edit the project to link the module. This assumes you’ve already created an empty project in Modelio, and that you’ve quit Modelio. Open
~/modelio/workspace/[project name]/project.confwith your favorite text editor. As a sub-node of the main
projectnode, add a
modulenode - there should already be a
modulenode. This is what it will look like:
<project [attributes...]> [other sub-nodes] <module name="SoaMLDesigner" version="[version code you've copied earlier]" archive="[address you've copied earlier]" activated="true" scope="LOCAL"> <auth scheme="AUTH_NONE" scope="LOCAL"></auth> <properties></properties> </module> [yet more sub-nodes] </project>
Congrats! SoaMLDesigner is now enabled in your project. To know about using SoaML in Modelio, check out this user guide.