Systems-Modeling / SysML-v2-Pilot-Implementation

Proof-of-concept pilot implementation of the SysML v2 textual notation and visualization
GNU Lesser General Public License v3.0
127 stars 24 forks source link

Error installing jupyter notebook #427

Closed the-jan-peter closed 1 year ago

the-jan-peter commented 1 year ago

At MBSE22 De Koning presented yesterday the usage of SysMLv2 code->graphic translator using Jupyter Notebooks.

Looking at the Pilot Implementation Repo, I guess I would have to use the jupyter notebook installer

Cloning the complete pilot repo and then following the README in the mentioned directory offers me the following error:

$ ./install.sh
./install.sh: 24: Bad substitution

The referred line in the install script:

SYSML_VERSION="${project.version.unqualified}"

Any help in visualising sysml code into graphics is highly welcomed!

Canvis-Me commented 1 year ago

Try https://github.com/Systems-Modeling/SysML-v2-Release/blob/aefe04e5124157ce2ed32041ee5cadb081ccdc15/install/jupyter/README.pdf

The release files are from https://github.com/Systems-Modeling/SysML-v2-Release.

seidewitz commented 1 year ago

@Canvis-Me has the correct reference for doing a Jupyter installation of the latest public release.

The projects in the SysML v2 Pilot Implementation repository are for development, and the install scripts in org.omg.sysml.jupyter.installer are actually the templates for the scripts included in the release. If you want to do an installation from the development repository, you would first need to do a clean Maven build on the entire repository, and then find the generated snapshot install subdirectory under the resulting org.omg.sysml.jupyter.installer/target directory.

Unless you want to do some development updates, it is better to use the release install directory! 🙂