Steps to setup Eclipse to work with the ZooKeeper code base
- Select "Import" and then "Import Projects from Git".
- Use the zookeeper version control url as URI.
- Select the branch you are using.
Select "Import existing Eclipse projects" but before you press next open a command line in the directory you checked out and run:
ant eclipse
- Select Next and then Finish
- Once the code is checked out and the project is setup, run the build script with the following targets: compile, compile-test, eclipse
- Once the build script has run successfully, refresh the project. And
enjoy hacking...