Skip to content

ST6RI-898 Automatically update the index field in .meta.json for standard library releases#751

Open
vytautas-astrauskas-sensmetry wants to merge 9 commits intomasterfrom
ST6RI-898
Open

ST6RI-898 Automatically update the index field in .meta.json for standard library releases#751
vytautas-astrauskas-sensmetry wants to merge 9 commits intomasterfrom
ST6RI-898

Conversation

@vytautas-astrauskas-sensmetry
Copy link
Copy Markdown
Contributor

@vytautas-astrauskas-sensmetry vytautas-astrauskas-sensmetry commented May 1, 2026

This PR modifies the Maven build process to update the index field in .meta.json so that the standard library .kpars always contain the correct values.

The key logic is in the newly added utility classes SysMLIndexUtil and its supertype KerMLIndexUtil. SysMLIndexUtil iterates over all projects in the standard library, computes the list of top-level elements for each of them, and then writes the names of these elements to the index field of .meta.json. SysMLIndexUtil is called by Maven during the build process using the exec-maven-plugin plugin.

The only semantic change to the standard library is the addition of USCU symbol to the index of sysml.library/Domain Libraries/Quantities and Units/.meta.json.

seidewitz and others added 9 commits March 18, 2026 19:24
- These utilities create text snippets for the index in the .meta.json
file of a KPAR.
- SysMLIndexUtil works on both KerML and SysML files.
…ysand is correctly resolved

After pulling, do the following:

1.  Refresh the project with: File -> Refresh
2.  Update org.omg.sysml.xtext project: Maven -> Update Project
3.  Rebuild
@vytautas-astrauskas-sensmetry vytautas-astrauskas-sensmetry marked this pull request as ready for review May 1, 2026 06:28
@seidewitz seidewitz changed the title Automatically update the index field in .meta.json for standard library releases ST6RI-898 Automatically update the index field in .meta.json for standard library releases May 1, 2026
@seidewitz seidewitz self-assigned this May 1, 2026
@seidewitz seidewitz modified the milestone: 2026-04 May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants