@@ -28,31 +28,41 @@ apt-get install python-setuptools
2828
2929## Package build command (using maven)
3030
31- Commands to clean everything and build the tarball package without executing the tests:
31+ Commands to clean everything and build the tarball package without executing the tests: ` mvn clean install -DskipTests `
32+
33+
34+ ` zookeeper-assembly/target/apache-zookeeper-<version>-bin.tar.gz ` tarball file structure layout:
35+
36+ - ` /bin ` - User executables
37+ - ` /conf ` - Configuration files
38+ - ` /lib ` - ZooKeeper JAR files and all the required java library dependencies
39+ - ` /docs ` - Documents
40+
41+ Beside the binary tarball, you can find the whole original source project packaged into:
42+ ` zookeeper-assembly/target/apache-zookeeper-<version>.tar.gz `
43+
44+
45+ ### Building the C client (using maven)
46+
47+ To also build the C client, you need to activate the ` full-build ` profile:
3248
3349```
3450mvn clean -Pfull-build
3551mvn install -Pfull-build -DskipTests
3652```
3753
3854Optional parameters you might consider when using maven:
55+ - ` -Pfull-build ` - activates the full-build profile, causing the C client to be built
3956- ` -DskipTests ` - this parameter will skip both java and C++ unit test execution during the build
40- - ` -Pfull-build ` - activates the full-build profile, causing the C client and python code to be built
4157- ` -Pc-test-coverage ` - activates the test coverage calculation during the execution of C client tests
4258
4359Please note: if you don't provide the ` -Pfull-build ` parameter, then the C client will not be built, the C client tests
4460will not be executed and the previous C client builds will no be cleaned up (e.g. with simply using ` mvn clean ` ).
4561
46- ` zookeeper-assembly/target/apache-zookeeper-<version>-bin.tar.gz ` tarball file structure layout:
47-
48- - ` /bin ` - User executables
49- - ` /conf ` - Configuration files
50- - ` /lib ` - ZooKeeper JAR files and all the required java library dependencies
51- - ` /docs ` - Documents
52- - ` /usr ` - Native artifacts (only present if ` -Pfull-build ` used)
53-
54- Beside the binary tarball, you can find the whole original source project packaged into:
55- ` zookeeper-assembly/target/apache-zookeeper-<version>.tar.gz `
62+ The compiled C client can be found here:
63+ - ` zookeeper-client/zookeeper-client-c/target/c/bin ` - User executable
64+ - ` zookeeper-client/zookeeper-client-c/target/c/lib ` - Native libraries
65+ - ` zookeeper-client/zookeeper-client-c/target/c/include/zookeeper ` - Native library headers
5666
5767
5868## Package build command (using ant)
0 commit comments