Versions Compared

Key

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

Pre-requisites

  • Java 6 (for running Eclipse, you can still use Java 5 for your projects)

Install Eclipse

(If you do not have Eclipse installed, or you want to make isolated tests of the Clojure plugin for Eclipse)

  • Grab the Eclipse ZIP file from http://www.eclipse.org/downloads . If you do not know which "package" to get, pick the "Eclipse IDE for Java Developers" one since it ships out of the box with Git support
  • Unzip it somewhere. The executable is eclipse (linux) or eclipse.exe (windows) located in the eclipse/ directory created by the unzip operation
  • The first time Eclipse is run, it will ask you for a location on your disk where eclipse will put its metadata and will create new projects by default.

Install Counterclockwise (the Clojure plugin for Eclipse)

(Counterclockwise, CCW for short, is the Clojure plugin for Eclipse)

...

  • Menu Help > Install new software…
  • Paste the following Counterclockwise url in the “Work with:” textbox: http://ccw.cgrand.net/updatesite/ , Hit Enter
  • Select counterclockwise, verify the “Contact all update sites during …” chekbox is checked, click next, accept licence, etc., restart Eclipse
  • Go to menu Window > Reset Perspective ... this will reset the way the views are layout, and also place correctly the views contributed by Counterclockwise (the Namespace Browser view, placed "behind" the code outline view)

Test the install

Create and run a simple Clojure project ("Hello Betty")

...