-
Notifications
You must be signed in to change notification settings - Fork 56
Reactivate Code Generation of ODFDOM #182
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
Conversation
…BUILDING YET as still some changes have to be applied manually to be backward compatibility to earlier releases
…dent name 'SchemaToTemplate.java
…umbers, added pluginManagement but this only influences direct pom.xml children
… for releases but with every build/deployment, which results under Windows annoying typing in the pwd)
…nital code generation of Maven plugin artefacts
…gument, as we need to instantiate the iteration of generation at schema2template to have all-generation-embracing variables like the changes in XML grammar version history
…Since 1.1 the svg: prefix was added
…erence (disabled the test as only required when generating sources
|
There are improvements of various kind and here are only some highlights: Maven
Generation & Templates
ODF JSON Changes (Collaboration)Whenever a sequence (like a hyperlink) should be added/merged into an existing element (e.g. paragraph containing other elements and text), there were two issues being fixed:
|
…PropertiesElement.java once added manually to keep ODFDOM API unchanged
|
When updating the JavaDoc (and building/generating prior to all sources) I incidentally added/committed the generated files. 🙈 The JavaDoc can be viewn at my temporary fork to activate GitHub Pages: In addition, I have added the output of an API change tool: https://siom79.github.io/japicmp/ |
The API changes have been addressed in this email: https://listarchives.odftoolkit.org/dev/msg00062.html |
…umber() (used by OdfReference & Python generation) was random
…dated and enabled from the generation of Python example
…dated and enabled from the generation of OdfReference example
…ain for Python/OdfReference
|
fixes #182 |
…lass (as not commonly usable) + several small documentation updates
…ccording to human semantic) and ordering is like when MSV Expression.hashCode() will be fixed (without Class.hasCode() bringing randomness inbetween process calls)
…nd improve documentation
c715573 to
51c1537
Compare
|
okay so the snyk check was not relevant as it complained about a pre-existing dependency only used at build time, and the conflicts had to be resolved anyway so i've merged manually -> closing this PR |
|
I have got three action items till next release:
|
After about 11 years ODFDOM classes are now being regenerated.
The generator submodule has been wholly refactored, similar to the Maven plugin, which is now being used from ODFDOM to generate, copy and format the Java classes of the 3 XML grammars:
over the existing source code via mvn clean install -Dcodegen
The newly generated files have not been committed to being able to use Git for comparison.