You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Andor Molnar (Jira)" <ji...@apache.org> on 2019/10/24 06:51:00 UTC

[jira] [Resolved] (ZOOKEEPER-3530) Include compiled C-client in the binary tarball

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andor Molnar resolved ZOOKEEPER-3530.
-------------------------------------
    Fix Version/s: 3.6.0
       Resolution: Fixed

Issue resolved by pull request 1113
[https://github.com/apache/zookeeper/pull/1113]

> Include compiled C-client in the binary tarball
> -----------------------------------------------
>
>                 Key: ZOOKEEPER-3530
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3530
>             Project: ZooKeeper
>          Issue Type: Improvement
>    Affects Versions: 3.6.0, 3.5.7
>            Reporter: Mate Szalay-Beko
>            Assignee: Mate Szalay-Beko
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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:
> {code:bash}
> 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
> {code}
> Currently with maven, when we are generating a tarball during full-build then the C-client is not getting archived. In [PR-1078|https://github.com/apache/zookeeper/pull/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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)