Publication

In SysON, the mechanism that allows users to turn a project into a Library is called Publication. Publishing libraries is the way to define dependencies between projects.

By default, publishing a project can be done by using the dedicated command from the command palette.

Publication command

Note that it is only available for projects with documents containing SysML elements as their root contents. The publication process only publishes the SysML contents.

Publication command

Upon selecting this command, a dialog prompts for the library information.

Publication command dialog

The project name will be used as the library name, and the project ID will be used as the library namespace.

When the publication is successful, a success notification appears. Otherwise, an error notification appears, e.g. when trying to publish a library with a namespace, name and version that already exists.

Publication success notification

After publication, the library is listed alongside the other published libraries.