Steps to setup Eclipse to work with the ZooKeeper code base

  1. Select "Import" and then "Import Projects from Git".
  2. Use the zookeeper version control url as URI.
  3. Select the branch you are using.
  4. Select "Import existing Eclipse projects" but before you press next open a command line in the directory you checked out and run:

    ant eclipse
  5. Select Next and then Finish
  6. Once the code is checked out and the project is setup, run the build script with the following targets: compile, compile-test, eclipse
  7. Once the build script has run successfully, refresh the project. And
    enjoy hacking...
  • No labels