You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by lulynn_2008 <lu...@163.com> on 2012/01/06 09:00:24 UTC

Zookeeper-3.4.2: About zookeeper-3.4.2-fatjar.jar

 Hello,
I found zookeeper-3.4.2-fatjar.jar includes many jar files besides zookeeper class files. My questions are:

What this jar files is used for?
Why includes following jar files in this zookeeper-3.4.2-fatjar.jar?
Is this jar file generated during "ant jar" or "ant package" or some other time? Or this jar file will not be generated during "ant ...".
In zookeeper-3.4.2-fatjar.jar, can we replace google-collections-0.9.jar with google-collections-1.0.jar, mockito-all-1.8.2.jar with mockito-all-1.8.5.jar and netty-3.2.2.Final.jar with netty-3.2.4.Final.jar?
Thank you.
Jar files included in zookeeper-3.4.2-fatjar.jar:
antlr-2.7.6.jar
checkstyle-5.0.jar
commons-beanutils-core-1.7.0.jar
commons-cli-1.0.jar
commons-collections-2.0.jar
commons-lang-1.0.jar
commons-logging-1.0.3.jar
google-collections-0.9.jar
ivy-2.2.0.jar
jline-0.9.94.jar
junit-4.8.1.jar
log4j-1.2.15.jar
mockito-all-1.8.2.jar
netty-3.2.2.Final.jar
slf4j-api-1.6.1.jar
slf4j-log4j12-1.6.1.jar
 

Re:Re: Zookeeper-3.4.2: About zookeeper-3.4.2-fatjar.jar

Posted by lulynn_2008 <lu...@163.com>.
Thank you for your detail.
--Do you mean that, if we remove zookeeper-3.4.2-fatjar, user can use zookeeper normally? I mean if user did not run "ant test".
--Based on your response I assume google-collections-0.9.jar, mockito-all-1.8.2.jar and netty-3.2.2.Final.jar are used for testing("ant test"), is this correct?
Will they be used during user using zookeeper?
--And zookeeper-3.4.2 can work with google-collections-1.0.jar, mockito-all-1.8.5.jar and netty-3.2.4.Final.jar? Of course, we will need to change ivy.xml to let zookeeper download those jar files?




At 2012-01-07 00:47:19,"Camille Fournier" <ca...@apache.org> wrote:
>These are for testing, for the most part.
>netty is an optional new connection manager in 3.4. We also depend on the
>logging jars for running in production.
>
>You can't replace the outdated dependencies without changing the ivy.xml
>and retesting. If you think that is important please raise a JIRA tracker
>for the issue.
>
>Thanks,
>C
>
>2012/1/6 lulynn_2008 <lu...@163.com>
>
>>  Hello,
>> I found zookeeper-3.4.2-fatjar.jar includes many jar files besides
>> zookeeper class files. My questions are:
>>
>> What this jar files is used for?
>> Why includes following jar files in this zookeeper-3.4.2-fatjar.jar?
>> Is this jar file generated during "ant jar" or "ant package" or some other
>> time? Or this jar file will not be generated during "ant ...".
>> In zookeeper-3.4.2-fatjar.jar, can we replace google-collections-0.9.jar
>> with google-collections-1.0.jar, mockito-all-1.8.2.jar with
>> mockito-all-1.8.5.jar and netty-3.2.2.Final.jar with netty-3.2.4.Final.jar?
>> Thank you.
>> Jar files included in zookeeper-3.4.2-fatjar.jar:
>> antlr-2.7.6.jar
>> checkstyle-5.0.jar
>> commons-beanutils-core-1.7.0.jar
>> commons-cli-1.0.jar
>> commons-collections-2.0.jar
>> commons-lang-1.0.jar
>> commons-logging-1.0.3.jar
>> google-collections-0.9.jar
>> ivy-2.2.0.jar
>> jline-0.9.94.jar
>> junit-4.8.1.jar
>> log4j-1.2.15.jar
>> mockito-all-1.8.2.jar
>> netty-3.2.2.Final.jar
>> slf4j-api-1.6.1.jar
>> slf4j-log4j12-1.6.1.jar
>>
>>

Re: Zookeeper-3.4.2: About zookeeper-3.4.2-fatjar.jar

Posted by Camille Fournier <ca...@apache.org>.
These are for testing, for the most part.
netty is an optional new connection manager in 3.4. We also depend on the
logging jars for running in production.

You can't replace the outdated dependencies without changing the ivy.xml
and retesting. If you think that is important please raise a JIRA tracker
for the issue.

Thanks,
C

2012/1/6 lulynn_2008 <lu...@163.com>

>  Hello,
> I found zookeeper-3.4.2-fatjar.jar includes many jar files besides
> zookeeper class files. My questions are:
>
> What this jar files is used for?
> Why includes following jar files in this zookeeper-3.4.2-fatjar.jar?
> Is this jar file generated during "ant jar" or "ant package" or some other
> time? Or this jar file will not be generated during "ant ...".
> In zookeeper-3.4.2-fatjar.jar, can we replace google-collections-0.9.jar
> with google-collections-1.0.jar, mockito-all-1.8.2.jar with
> mockito-all-1.8.5.jar and netty-3.2.2.Final.jar with netty-3.2.4.Final.jar?
> Thank you.
> Jar files included in zookeeper-3.4.2-fatjar.jar:
> antlr-2.7.6.jar
> checkstyle-5.0.jar
> commons-beanutils-core-1.7.0.jar
> commons-cli-1.0.jar
> commons-collections-2.0.jar
> commons-lang-1.0.jar
> commons-logging-1.0.3.jar
> google-collections-0.9.jar
> ivy-2.2.0.jar
> jline-0.9.94.jar
> junit-4.8.1.jar
> log4j-1.2.15.jar
> mockito-all-1.8.2.jar
> netty-3.2.2.Final.jar
> slf4j-api-1.6.1.jar
> slf4j-log4j12-1.6.1.jar
>
>