Build and Use
If generated with the initializer, you can use the scripts in the scripts directory to prepare, expand and build the metamodel project.
scripts/prepare-metamodel.nss
converts the ontologies to a Component representation, on which the metamodel expansion is basedscripts/expand.nss
expand the result of the converted metamodelscripts/build.nss
builds the expanded project
After following these steps, the build will have installed a {groupId}:{artifactId}-core
artifact.
You can start adding expanders in the expanded project based on the metamodel. These expanders can be included as an expansionResource in any expansionSettings.xml.
The models can now be added as XML files in the related directories.