Thanks Wendy and Rob

I have figured out a simple way to debug the zookeeper codebase by starting the 
zookeeper with the following code in IDE.
QuarumPeeMain quarum = new QuarumPeeMain ();
quarum.main(new String[]{"zookeeper configuration file path"});

In the meanwhile, If I need, I will try the way to setup the zookeeper codebase 
following your guide, @Rob, thanks!





[email protected]
 
From: Rob Lally
Date: 2014-11-01 12:11
To: user
Subject: Re: Is there a guide to setup the development enviroment with 
Zookeeper Codebase
If you run:
 
ant eclipse
 
in the project root directory, it will produce an Eclipse project for you. 
You'll also be able to open the eclipse project in IDEA if you'd prefer that.
 
 
R.
 
 
 
On 31 Oct 2014, at 17:15, Tom <[email protected]> wrote:
 
> Thanks Wendy.
> The problem that blocks me is when I fetch the codebase from zookeeper SVN, 
> there is no .classpath/.project information (For eclipse)in it,and also it is 
> not a maven project.
> So,did you configure the classpath by yourself when you accept the codebase? 
> what IDE did you use?Thanks!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> At 2014-10-31 22:24:21, "Wendy Smoak" <[email protected]> wrote:
>> http://zookeeper.apache.org links to
>> 
>> https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
>> 
>> which has instructions on how to build the project with Ant.
>> 
>> I'm trying it now -- initial observations are that the tests take a
>> LONG time and it's difficult to work on anything else while they are
>> running because the terminal window keeps stealing focus. (?) Not sure
>> what that's about, I don't remember it happening with other Java
>> projects.
>> 
>> (If you need more help getting set up to build it, the dev list is
>> probably a better place to ask.)
>> 
>> -Wendy
>> 
>> On Fri, Oct 31, 2014 at 9:37 AM, [email protected] <[email protected]> wrote:
>>> I would like to fetch the zookeeper codebase,and compile/run/debug it in 
>>> local dev environment to get familiar with zookeeper from the code level.
>>> Thanks.
>>> 
>>> 
>>> 
>>> -Todd
 

Reply via email to