I suggest building with Maven and running from the command line. That works for 
me. 

====================
Jordan Zimmerman

> On Sep 30, 2013, at 9:38 AM, Sznajder ForMailingList 
> <[email protected]> wrote:
> 
> sure!
> 
> I copied the two classes :
> ExampleClient and LeaderSelectorExample.
> 
> I added the different zookeeper and curator, log4j etc... jars to my 
> classpath 
> And I run it from eclipse on windows.
> 
> Benjamin
> 
> 
>> On Mon, Sep 30, 2013 at 7:08 PM, Jordan Zimmerman 
>> <[email protected]> wrote:
>> Tell how you're running it. 
>> 
>> ====================
>> Jordan Zimmerman
>> 
>>> On Sep 30, 2013, at 9:02 AM, Sznajder ForMailingList 
>>> <[email protected]> wrote:
>>> 
>>> Hi
>>> 
>>> thanks for your answer.
>>> 
>>> However, I added the log4j in the classpath and still do not see any leader 
>>> election event....
>>> 
>>> Benjamin
>>> 
>>> 
>>>> On Mon, Sep 30, 2013 at 5:55 PM, Jordan Zimmerman 
>>>> <[email protected]> wrote:
>>>> It looks like the examples pom is incomplete. Add this:
>>>> 
>>>>         <dependency>
>>>>             <groupId>log4j</groupId>
>>>>             <artifactId>log4j</artifactId>
>>>>             <version>1.2.16</version>
>>>>         </dependency>
>>>> 
>>>> I've update the code for the next release.
>>>> 
>>>> On Sep 30, 2013, at 7:41 AM, Sznajder ForMailingList 
>>>> <[email protected]> wrote:
>>>> 
>>>> > Hi
>>>> >
>>>> > I ran the LeaderSelectorExample class.
>>>> >
>>>> > However, the main starts the different Examples instances, but, after, 
>>>> > we do not see any printout related to the Leadership ....
>>>> > Any event is caught...
>>>> > Benjamin
> 

Reply via email to