-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Clojure koans in Eclipse
Florent Delannoy edited this page Jun 23, 2015
·
1 revision
You can use Eclipse with the Counterclockwise plugin to work through the Clojure Koans.
To do so, we'll need to import the Clojure Koans project into Eclipse, but Eclipse cannot import "raw" Clojure projects. There are two ways of getting around this:
- Run
lein pom
: this will generate a Mavenpom.xml
file - In Eclipse,
Import
>Existing Maven Project
and you're all set!
Using lein-eclipse
- Add
[no-man-is-an-island/lein-eclipse "2.0.0"]
as a Leiningen plugin, either in Clojure-koans'project.clj
or in a global~/.lein/profiles.clj
so that it is available for all Leiningen projects - Run
lein deps
andlein eclipse
: this will create a.project
and a.classpath
file - In Eclipse,
Import
>Existing Project
and you're all set!
Resources: