Installation - SysMLDesignRationale/DesignPilot GitHub Wiki
The Design Rationale project builds on SysML and is deployed as a plug-in to MagicDraw.
Getting Started
In order to install and run the demo, you will need the following:
-
MD Professional Java Edition with SysML plugin (the demo runs fine in the trial editions)
-
The DesignRationale plugin directory (available in this repository at gov.nasa.jsc.mdrules)
-
The sample models of the Orion Power Distribution demo (available in this repository at Orion Converter and Loads Updated.mdzip)
-
RDF Schema Files for the design rationale pilot (available in this repository at orionPowerDistribOwl)
Installation Instructions
-
Install MagicDraw as instructed on the nomagic website.
-
Locate the plugins folder in the MagicDraw installation. Copy the directory gov.nasa.jsc.mdrules into that directory.
-
Edit the file orionPowerDistribDemo.properties in that folder as follows:
a. Edit the value for sesameRepositoryPath to be a location on your local hard drive that is currently not in use. This is where the RDF Database will store its internal files.
b. Edit the value for schemaFiles to point to the Schema files in point (4) above. NOTE for Windows users; you can reference paths either with a forward slash (Unix-style) or with a backslash (Windows-style). In the latter case, you need to escape the backslash by typing two backslashes.
c. Save the file orionPowerDistribDemo.properties.
NOTE FOR WINDOWS USERS: This folder is in a "protected" part of your file system, so it is tricky to make changes to it. IF you have problems with permissions, basically swap steps (2) and (3), that is, extract the folcer gov.nasa.jsc.mdrules to somewhere unprotected in your file system, do the edits in (3), then copy the whole directory into the MagicDraw plugins folder.
-
The plugin is now installed. Start MagicDraw and accept all terms. The Design Rationale code adds no new terms; the terms you are agreeing to come from MagicDraw and the SysML plugin.
-
On the front screen of MagicDraw, click "Open Project". Navigate to the file "Orion Converter and Loads Updated.mdzip" above. Open it.
-
Once this file has been opened, MagicDraw should display a view of the Orion Power Distribution demo.
-
Select "Run Rules" from the "Analyze" menu to start the demo.