Re: newbie struggling with Clooj and jars

2013-08-12 Thread Jason Turner
Thanks very much - that explains it, I didn't realize that Leiningen behaviour had changed from what Clooj expects - I could see the jars were in the Maven repo. On Monday, 12 August 2013 00:51:10 UTC+1, yair wrote: The problem is that clooj depends on leiningen 1 which used to have the

Re: newbie struggling with Clooj and jars

2013-08-11 Thread Jason Turner
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

Re: newbie struggling with Clooj and jars

2013-08-11 Thread yair
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

Re: newbie struggling with Clooj and jars

2012-03-27 Thread Arthur Edelstein
Hi Phil, On Friday, March 23, 2012 3:57:28 PM UTC-7, Phil Hagelberg wrote: Arthur Edelstein arthuredelst...@gmail.com writes: In clooj + lein, there are three steps to adding a jar to a project. 1. Edit the project.clj file to include the artifact in the project's dependencies 2. Go to

Re: newbie struggling with Clooj and jars

2012-03-23 Thread TI Explorer vet
On Thursday, March 22, 2012 11:06:27 PM UTC-3, Moritz Ulrich wrote: The whole thing works in leiningen because it loads all necessary dependencies for you. I highly recommend to use leiningen for all dependency management, don't copy jars around. A quick look at the readme of Clooj reveals

Re: newbie struggling with Clooj and jars

2012-03-23 Thread Lee Spector
To use leiningen in conjunction with clooj: 1. Edit project.clj to reflect your dependencies (using clooj or whatever other editor). 2. Run lein deps from the command line within the project's directory. 3. Quit/restart clooj, since it builds its classpath on launch. Works for me at least.

Re: newbie struggling with Clooj and jars

2012-03-23 Thread Arthur Edelstein
Hi vet, In clooj + lein, there are three steps to adding a jar to a project. 1. Edit the project.clj file to include the artifact in the project's dependencies 2. Go to the command line and type lein deps 3. Go back to clooj and choose the menu item REPL Restart Restarting the REPL loads all

newbie struggling with Clooj and jars

2012-03-22 Thread TI Explorer vet
I love the premise of Clojure and the simplicity of Clooj. I used to write Lisp in Emacs years ago but I'd rather not dust off the Emacs brain cells. I'm trying to write a simple Twitter client in Clojure. I've got twitter-apihttps://github.com/adamwynne/twitter-apidownloaded and installed

Re: newbie struggling with Clooj and jars

2012-03-22 Thread Moritz Ulrich
I'm pretty sure you're missing the dependencies (in this case: clj-oauth) for twitter-api in your Clooj classpath. Take a look at [1] to see which. The whole thing works in leiningen because it loads all necessary dependencies for you. I highly recommend to use leiningen for all dependency