Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-21 Thread Christopher Bird
Laurent, that is outstanding. Thank you so much. Yup, I am working from the particular to the general here, so having a working example really makes a big difference. I must say that this is a really helpful community. Thanks evryone Chris On Monday, October 21, 2013 7:15:38 AM UTC-5, Laurent P

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-21 Thread Laurent PETIT
Hello Christopher, I will try to address exactly your example, with Counterclockwise, and hopefully you'll get the general view of how to do things on the go. So you want to instanciate a new namespace like this : (ns play.xml-example (:require [clojure.zip :as zip] [clojure.data.zip :as zf] [cl

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-19 Thread John Mastro
> John, thanks. Not a stupid question at all. When learning a new language, a > new environment, and using an unfamiliar OS, there are so many moving parts > that it is sometimes hard to know where to begin when tracking stuff down. My > old and favorite line here is that "signposts are generall

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-19 Thread Christopher Bird
John, thanks. Not a stupid question at all. When learning a new language, a new environment, and using an unfamiliar OS, there are so many moving parts that it is sometimes hard to know where to begin when tracking stuff down. My old and favorite line here is that "signposts are generally made b

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-18 Thread John Mastro
> So, clearly I need to get the libs onto the classpath. The questions are > what libs, where and how? Forgive me if this is a stupid question, but have you already listed the dependency coordinates under the :dependencies key of your project.clj? Leiningen has a sample project.clj here: http

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-18 Thread Josh Kamau
Install counterclockwise plugin on your eclipse. Then import your project into eclipse. There right click the project and there is something like "Convert to leiningen project" . Hope that helps. Josh. On Fri, Oct 18, 2013 at 5:41 PM, Christopher Bird wrote: > Josh, thanks for replying. The cod

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-18 Thread Christopher Bird
Josh, thanks for replying. The code sample was from my batch lein and not the counterclockwise version. So I am clearly still totally messed up[! C On Friday, October 18, 2013 9:11:54 AM UTC-5, Josh Kamau wrote: > > I find it easier to let leiningen handle the dependencies. Eclipse via > count

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-18 Thread Josh Kamau
I find it easier to let leiningen handle the dependencies. Eclipse via counterclockwise plugin adds dependencies declared in project.clj to the classpath. Josh On Fri, Oct 18, 2013 at 4:42 PM, Christopher Bird wrote: > I know this is a pretty old thread, but my questions are quite > similar/re

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2013-10-18 Thread Christopher Bird
I know this is a pretty old thread, but my questions are quite similar/related, so I figured here would be a good place for them. I am seriously struggling with both the Eclipse/Kepler-CounterClockwise version in general and the command prompt versions of lein. My major issue is how to tell the

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2011-09-12 Thread JosephLi
hi Laurent, Sorry for going silent for several days the usual excuse, work deadline, families etc Anyway, really appreciate ur jumping in and try to give me a hand. I finally found out why: 1.) I have to indicate in Eclipse that the user library, that pointed to the jar downloaded from

Re: Newbie question: How to add external clojure jars properly in Eclipse.

2011-09-08 Thread Laurent PETIT
Hi Joseph, can you show us the content of your .project and .classpath files under your project's root directory ? This should be necessary but enough to help you. 2011/9/7 JosephLi > hi all, > > I have a bare bone Clojure project created in Eclipse with > Counterclockwise plugin and am trying

Newbie question: How to add external clojure jars properly in Eclipse.

2011-09-08 Thread JosephLi
hi all, I have a bare bone Clojure project created in Eclipse with Counterclockwise plugin and am trying to (use clojure.java.jdbc). I tried adding the jar file downloaded from Maven repo to the project's build path but everytime it runs the (use) line from the repl it will give a ClassNotFoundE