Here's one way to use eclipse + ccw + lein

1. Download latest eclipse helios. Go to market place and search for
counter clockwise plugin. Install the latest stable.
2. Create a new Clojure project. Delete the 4 jars it provides :) (yes
that's right delete them).
3. Install lein (https://github.com/technomancy/leiningen).
4. Create a new project.clj (top level of your project) with clojure
1.2 & clojure-contrib 1.2 dep (or even 1.3-alpha4).
5. Open up a cmd and cd to your project and do >lein deps. (It will
add jars to the lib directory in your project folder).
6. Right click on your project in eclipse, go to properties > java
build path. Remove the 4 jar entries already present. Then 'Add jars'
by selecting your lib folder. This will amend a a file '.classpath' in
your project, you can directly amend that and refresh your project too
(its the same). The entries present in .classpath are used as the -cp
argument (along with some more dirs) to launch the clojure REPL
(there's no magic).
7. Done! Right click on project and Run As Clojure REPL.

For adding any new deps, just add the entry in project.clj and repeat
steps 5., 6. above.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to