Git Product home page Git Product logo

Comments (2)

wetneb avatar wetneb commented on September 4, 2024

Wow! I had no idea code generation was used in this project. Not knowing anything about the code base, here are some random thoughts.

If manual edits have been made on classes created by code generation, then I would really avoid replacing those classes by their newly re-generated versions. I think the approach you are adopting (running code generation independently for ODF 1.2 and 1.3 and spotting the differences) is good: those changes then need to be backported manually to the code base.

In any case this sounds like a really significant project which should really not be a prerequisite for releasing what you have already.

from odftoolkit.

svanteschubert avatar svanteschubert commented on September 4, 2024

Basics of Code Generation Update

Currently, the Code generation can only be triggered by the following Java test
generator/schema2template/src/test/java/schema2template/example/odf/OdfGenerationTest.java
Only the generation of ODF 1.2 is enabled - the generation of ODF 1.0, 1.1 and 1.3 is being temporarily disabled (at the bottom of the test class).

The generated output - the ODF dom and pkg Java sources - can be found within:
generator/schema2template/target/generated-sources/java/odf1.2

The Apache velocity templates, which are being used to generate the ODFDOM Java sources, are from now only with the related (ODFDOM) project:
odfdom/src/codegen/resources

from odftoolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.