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 > counterclockwise plugin adds dependencies declared in project.clj to the > classpath. > > Josh > > > On Fri, Oct 18, 2013 at 4:42 PM, Christopher Bird > <seab...@gmail.com<javascript:> > > wrote: > >> 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 environments which libraries, etc. to >> load. For example, one of the libraries I really want to use is the whole >> zipper approach for dealing with xml. >> >> From this location http://grokbase.com/t/gg/clojure/11ccz70h0y/xml-zip I >> see the following code: >> >> (ns play.xml-example >> (:require [clojure.zip :as zip] >> [clojure.data.zip :as zf] >> [clojure.xml :as xml]) >> (:use clojure.data.zip.xml)) >> And this is what I get: >> >> C:\Users\Christopher Bird>lein repl >> nREPL server started on port 64784 on host 127.0.0.1 >> REPL-y 0.2.1 >> Clojure 1.5.1 >> Docs: (doc function-name-here) >> (find-doc "part-of-name-here") >> Source: (source function-name-here) >> Javadoc: (javadoc java-object-or-class-here) >> Exit: Control+D or (exit) or (quit) >> >> user=> (ns play.xml-example >> #_=> (:require [clojure.zip :as zip] >> #_=> [clojure.data.zip :as zf] >> #_=> [clojure.xml :as xml] >> #_=> ) >> #_=> (:use clojure.data.zip.xml)) >> >> FileNotFoundException Could not locate clojure/data/zip__init.class or >> clojure/data/zip.clj on classpath: clojure.lang >> .RT.load (RT.java:443) >> user=> >> So, clearly I need to get the libs onto the classpath. The questions >> are what libs, where and how? >> >> Thanks in advance for any/all help >> >> Chris >> On Wednesday, September 7, 2011 2:09:01 PM UTC-5, Joseph Li wrote: >>> >>> 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 ClassNotFoundException. >>> >>> I ended up downloading the source and put it right there along with my >>> own but still have to fully qualify with the ns name to use anything >>> there. >>> >>> Is Maven/Leiningen pretty much the only way to obtain clojure lib >>> properly? >>> >>> Thanks, >>> Joseph >>> >>> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com<javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> 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+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- 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.