1. 下載安裝ant工具(http://www.cnblogs.com/qq332398135/p/8482601.html)html
2. Clone代碼 git clone https://github.com/apache/zookeeper.gitgit
3. cd clone的源代碼目錄(例:E:\GitHub\apache\zookeeper)github
4. ant eclipseapache
5. ant會分析build.xml,期間會下載一些組件,如遇錯誤,修改下組件的download路徑eclipse
6. Eclipse import工程,File->Import...->E:\GitHub\apache\zookeeper工具