I download the zookeeper codebase and setup the eclipse project with Ant, but I got the following compiling error:
Description Resource Path Location Type Cannot switch on a value of type AuthFastLeaderElection.ToSend.mType. Only convertible int values, strings or enum variables are permitted AuthFastLeaderElection.java /ZooKeeper/src/java/main/org/apache/zookeeper/server/quorum line 116 Java Problem I see that this is a long existing eclipse bug(https://bugs.eclipse.org/bugs/show_bug.cgi?id=413368), but there is no definite workaround there. I just wonder to know how you guys workaround this problem when developing zookeeper, thanks. bit1...@163.com