Hi, all. I'm new to Clojure and am working through the examples in Halloway's book Programming Clojure. I am not new to Eclipse, having used it for Java and R development, which is the reason I decided to try CounterClockwise as my Clojure environment.
The project I'm working on was created using the New/Clojure Project option in CCW.
My problem is that even after adding a particular clojure jar file, clojure-contrib.jar, to Referenced Libraries via the Project Properties/Add External Jar, I still can't successfully (use <namespace>) any of the namespaces in that file - I get FileNotFound errors. I've attached a screenshot showing the commands I've tried, the library reference, and errors I get. As I recall, adding a jar file that way always made its packages available in my Java code.
I've found posts from other users with similar problems, and a common thread is that the Leiningen project.clj file needs to be edited. Since I just want to learn Clojure I'd really rather not have to worry about build tool plumbing at this point, I just want to get a simple REPL environment running and be able to reference local jar and clj files as needed. Hopefully there's a simple way to do that which leverages Eclipse's features in a way I'm familiar with.
My project.clj is:
(defproject test "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:license {:name "Eclipse Public License"
:dependencies [[org.clojure/clojure "1.6.0"]])
It did not change when I added the jar reference.
Thanks, Doug