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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16958644#comment-16958644 ] 

Hudson commented on ZOOKEEPER-3530:
-----------------------------------

SUCCESS: Integrated in Jenkins build Zookeeper-trunk-single-thread #585 (See [https://builds.apache.org/job/Zookeeper-trunk-single-thread/585/])
ZOOKEEPER-3530: add new artifact for compiled c-client code (andor: rev 99be7de0c394a32d46c3f06b23f860eadfbd42b0)
* (edit) zookeeper-assembly/pom.xml
* (add) zookeeper-assembly/src/main/assembly/lib-package.xml
* (edit) README_packaging.md


> 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 10m
>  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)