Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Steps to setup Eclipse to work with the ZooKeeper code base

  1. Select "Import" and then "Import Projects from Git".
  2. Use
  3. Install the SVN plugin in eclipse. (we now use git. if you use eclipse, please update this doc.)
  4. Add the zookeeper version control url of trunk to the SVN repositories
  5. Use this URL and check-out the project using the New Project wizard
  6. as URI.
  7. Select the branch you are using.
  8. Select "Import existing Eclipse projects" but before you press next open a command line in the directory you checked out and run:

    ant eclipse
  9. Select Next and then FinishHere please select the output folder as something other than 'bin' – Important
  10. Once the code is checked out and the project is setup, run the build script with the following targets: compile, compile-test, eclipse
  11. Once the build script has run successfully, refresh the project. And
    enjoy hacking...