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

Include compiled C-client in the binary tarball

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.0, 3.5.7
    • 3.6.0
    • None

    Description

      During the old ZooKeeper 3.4 ant builds (ant package-native), there was an artifact (zookeeper-<version>-lib.tar.gz) created just for the C-client, with the following content:

      usr
        |--- bin
               |--- cli_mt
               |--- cli_st
               |--- load_gen
        |--- include
               |--- zookeeper
                      |--- proto.h
                      |--- recordio.h
                      |--- zookeeper.h
                      |--- zookeeper.jute.h
                      |--- zookeeper_log.h
                      |--- zookeeper_version.h
        |--- lib
               |--- libzookeeper_mt.a
               |--- libzookeeper_mt.la
               |--- libzookeeper_mt.so
               |--- libzookeeper_mt.so.2
               |--- libzookeeper_mt.so.2.0.0
               |--- libzookeeper_st.a
               |--- libzookeeper_st.la
               |--- libzookeeper_st.so
               |--- libzookeeper_st.so.2
               |--- libzookeeper_st.so.2.0.0
      

      Currently with maven, when we are generating a tarball during full-build then the C-client is not getting archived. In PR-1078 we discussed that we should re-introduce the apache-zookeeper-<version>-lib.tar.gz artifact.

      The goals of this task are:

      • re-introduce the 'lib' artifact, with the same structure we had for the older zookeeper 3.4.x ant generated artifact
      • we should also add the LICENSE.txt file to the archive (it was missing from the 3.4.x version tar.gz file)
      • the new artifact should be generated only when the full-build profile is set for maven
      • we should also update the README_packaging.md file

      Attachments

        Issue Links

          Activity

            People

              symat Mate Szalay-Beko
              symat Mate Szalay-Beko
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 10m
                  1h 10m