YAML Generation in OpenODD DSL
Once you've defined your Taxonomy and ODD Modules, you can generate YAML output for use in external tools.
Steps to Generate YAML:
- Right-click on your solution or module.
- Select Rebuild.
Output
- YAML files will be generated in the designated output folder.
- yaml files for Taxonomies can be found
ÒDD_Definition/source_gen/artifacts/taxonomy - yaml files for ODDModules can be found
ÒDD_Definition/source_gen/artifacts/module - These files represent your taxonomy and module definitions.
Generation Remarks
Taxonomy Generation
The taxonomy generation considers both top-level records and all nested records. It can generate any attributes, and categorical literals that are part of the top-level record or nested records. The structure includes all relevant types associated with these records, ensuring that nested elements and their dependencies are properly included in the generated taxonomy. i.e The taxonomy generation will only include categories that are part of the records linked to the top-level attributes. It won’t generate categories that aren't connected to those records.
Module generation
Only the module and its elements will be generated if the module is active. When the module is active, all conditions will be generated, regardless of whether the "active" flag of the condition is turned on or off.
Troubleshooting
- If the Git plugin in MPS doesn't work:
- Clone the repository via command line.
- Open the cloned project inside the RCP.
- The RCP is packaged with a compatible JDK. After receiving the RCP, please specify the path to the packaged JDK in your local environment in order to run the RCP.
- Still need help?
Contact the development team or explore the example solution bundled with the RCP.