Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3786

Simplify generation of VersionInfoMain and Info

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • build

    Description

      The VerGen command is currently compiled and executed in a separate step prior to compilation of the rest of zookeeper-server. This is wasteful, complicated, and unnecessary.

      Maven has built-in resource filtering for classes, so you can inject the system properties into the build and generate sources to be compiled that have the necessary information. (For example, see Accumulo's FilteredConstants).

      I have a pull request ready to address this, which I will push up shortly.

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              ctubbsii Christopher Tubbs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m