The problem is that clooj depends on leiningen 1 which used to have the 
dependencies in the /lib directory of the project.  Leiningen 2 use the 
maven repo directory (typically ~/.m2) for dependencies and builds the 
classpath directly to those jars, which you can check by running 'lein 
classpath'.  In order to get this working with clooj, you have to make 
leiningen behave the same way as v1, which you can do by running the 
following commands every time you change your dependencies:

lein pom
mvn dependency:copy-dependencies -DoutputDirectory=lib

On Sunday, August 11, 2013 4:32:20 PM UTC+10, Jason Turner wrote:
>
>
> I'm also having this problem. I just started playing with Clojure, Lein 
> and Clooj and am working with the Halloway Programming Clojure book next to 
> me. I'm was just trying to do some file reading using 
> clojure-contrib.duck-streams and is working in Lein but somehow not in 
> Clooj. I can see the correct jars will get picked up on the classpath in 
> Lein, and from what you say that means should definitely be picked up into 
> Clooj REPL also - is there a means of checking the Clooj classpath directly?
>
> Anyhow only just started, but does all look very promising - Clojure, Lein 
> and Clooj
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to