Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2136

Add support for versioning sources and documentation automatically

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.1
    • Build, Utilities
    • None

    Description

      Making a release requires a number of manual updates to various files including:

      • configure.ac
      • versions.incl
      • xerces-c.spec
      • src/xercesc/util/XercesVersion.hpp
      • doc/style/dtd/entities.ent
      • doc/source-repository.xml
      • doc/Doxyfile

      It would be more efficient to make the majority of these updates automatic.

       

      I've worked on some simple updates to the autoconf and cmake builds to do the following:

      • move library versioning into configure.ac (no separate updates to versions.incl)
      • generate a Xerces_version_config.hpp header like the Xerces_autoconf_config.hpp header, for inclusion by XercesVersion.hpp
      • generating entities.ent to automate docs version updates
      • making source-repository.xml use version entities to eliminate manual updates
      • generating Doxyfile to avoid manual version updates

       

      This narrows down updates to two files:

      • configure.ac
      • xerces-c.spec

       

      I'll attach a patch once I've done some more testing.

      Attachments

        Activity

          People

            rleigh Roger Leigh
            rleigh Roger Leigh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: