Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to cimgen master #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tom-hg57
Copy link
Collaborator

  • Update generated java files created by cimgen:
    • Fix generation of Float/Decimal as float classes, String/Date/DateTime/MonthDay as string classes
    • Fix and improve static java files, unify format with generated classes, add rdfid to BaseClass
    • Move XMLTest.java to java/utils/RdfReader.java, fix create/link attribute objects, add reading rdf:about
    • Improve logging in RdfReader, centralize logging in Logging class to make it easier to switch to real log4j logger
    • Add logging to generated classes
    • Add generation of getter functions, add RdfWriter
    • Add Main class, which simply reads files and writes one file as result
    • Add creation of constants, generating all namespaces in CimConstants.java
    • Remove unused imports from static and generated java files
    • Sort schema files and attributes to guarantee a stable order in the generated sources
    • Add generated-via-cimgen comment to the header of all generated files
  • Adapt pom.xml to new Main class
  • Add unit tests for reader and writer
  • Bump version to 0.2.0

- Fix generation of Float/Decimal as float classes, String/Date/DateTime/MonthDay as string classes
- Fix and improve static java files, unify format with generated classes, add rdfid to BaseClass
- Move XMLTest.java to java/utils/RdfReader.java, fix create/link attribute objects, add reading rdf:about
- Improve logging in RdfReader, centralize logging in Logging class to make it easier to switch to real log4j logger
- Add logging to generated classes
- Add generation of getter functions, add RdfWriter
- Add Main class, which simply reads files and writes one file as result
- Add creation of constants, generating all namespaces in CimConstants.java
- Remove unused imports from static and generated java files
- Sort schema files and attributes to guarantee a stable order in the generated sources
- Add generated-via-cimgen comment to the header of all generated files

Signed-off-by: Thomas Günther <[email protected]>
Signed-off-by: Thomas Günther <[email protected]>
Signed-off-by: Thomas Günther <[email protected]>
@tom-hg57 tom-hg57 requested a review from m-mirz February 26, 2025 00:03
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.

1 participant