Hide Forgot
Description of problem: Building native components on multiple platforms is a huge effort in productization, hence if we don't depend on a native component that is packaged with the product, we should remove it. This bz is to evaluate the needs for the native components identified below and remove them from the product if not required. In ER5 of BRMS/BPMS, we have: EAP deployable: jboss-eap-6.1/modules/system/layers/brms/org/kie/lib/main/jline-2.9.jar Supplimentary tools: zookeeper-3.3.4/lib/jline-0.9.94.jar zookeeper-3.3.4/contrib/fatjar/zookeeper-3.3.4-fatjar.jar (Need for this unknown at this point) helix-core-0.6.1-incubating/repo/jline/jline/0.9.94/jline-0.9.94.jar (this is not required, Engg will remove it)
JLine (dependency from zookeeper): Was already removed as a dependency from UF (in fact it was a transiente dependency from zookeeper that should be optional) -> https://github.com/droolsjbpm/uberfire/commit/6629b2f585658f76ea8e45fcd849bc852336a6d2 About ZooKeeper.jar: I did a quick search (find zookeeper-3.3.4/ -name \*.so -print and find zookeeper-3.3.4/ -name \*.dll -print) and didn't find any native code there. This jar is mandatory, we cannot remove it.
As commented With Alexandre, jline dependency can be removed but not the ZooKeeper one. I have removed this dependency for the eap modules distribution too. Master commit -> https://github.com/droolsjbpm/kie-wb-distributions/commit/0967310ef5a439f56dee78fe7b76b0de761c9955 6.0.x commit -> https://github.com/droolsjbpm/kie-wb-distributions/commit/5549a9af3abe29586955792b485b3f42c0f9844a
As I discussed with Alexandre, supplementary tools should contain original distribution of helix and zookeeper (with jline and zookeeper fatjar). The jline library should be removed only from EAP modules and dependencies of business-central (already done). However, all those have been removed from supplementary tools: zookeeper-3.3.4/lib/jline-0.9.94.jar zookeeper-3.3.4/contrib/fatjar/zookeeper-3.3.4-fatjar.jar helix-core-0.6.1-incubating/repo/jline/jline/0.9.94/jline-0.9.94.jar
The jline and fatjar in zookeeper and helix-core has been recovered.
Verified with BRMS-6.0.0.CR2
qe_test_coverage: any issue cause by removal of native components should be caught by existing regression tests