Skip to main content

Getting Started

Set up​

The best way to get started creating a new Metamodel is to use the initializer or create a new metamodel project in the µRadiant.

nsinit -o my-metamodel/metamodel

Then answer the prompts to set the properties of the project.

The generated project contains a metamodel directory with the root of the metamodel and a ontologies directory, which contains the ElementClasses and References.

Building the project​

The scripts in the scripts directory to prepare, expand and build the metamodel project.

  • scripts/expand.nss expand the metamodel
  • scripts/build.nss builds the expanded project

After following these steps, the build will have installed a {groupId}:{artifactId}-core artifactArtifactA build or deployment result, such as a Docker container image or Java archive, produced by a software project.. This artifactArtifactA build or deployment result, such as a Docker container image or Java archive, produced by a software project. can be included as a dependency in an expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. project to use the metamodel in its ExpandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact..