Your right, clj-apache-http.jar didn't build properly. It only contained a manifest.
When I do "ant" in the /clj-apache-http/ folder I get this (terminal output): http://gist.github.com/177087 I'll try to figure out how to build it properly later today, I'm coming from Ruby so I'm not familiar with building/compiling jars :) The path to the 4 jars you mentioned were in a .clojure in the folder, does that add it to the CP? -------- Dan McGrady http://dmix.ca | 647-966-7986 On Fri, Aug 28, 2009 at 11:15 AM, Richard Newman <holyg...@gmail.com> wrote: > > > I am trying to play around with the clojure-twitter library (http:// > > github.com/mattrepl/clojure-twitter/tree) and it depends on clj- > > apache- > > http (http://github.com/rnewman/clj-apache-http/tree/master). > > > This is my lib, so I'll answer :) > > > Now when I run: > > > > java -cp CLASSPATH twitter.clj > > * Don't you mean $CLASSPATH? > > > I get this error: > > > > Exception in thread "main" java.io.FileNotFoundException: Could > > not locate com/twinql/clojure/http__init.class or com/twinql/clojure/ > > http.clj on classpath: (twitter.clj:0) > > > > When I printed my classpath in REPL, the clj-apache-http.jar is coming > > up fine. Am I missing something? > > Do you also have all of clj-apache-http's dependencies on your > classpath? > > commons-logging-1.1.1.jar > httpclient-4.0-beta2.jar > httpcore-4.0-beta3.jar > httpmime-4.0-beta2.jar > > (Not sure about commons-logging... ain't my choice!) > > These are all in the lib/ dir. > > If those aren't on the classpath, com.twinql.clojure.http won't be > compiled correctly, and thus won't be available. > > What does > > jar tf clj-apache-http.jar > > print? > > Feel free to reply off-list, as I doubt debugging classpaths is of > much interest to the wider Clojure community. > > -R > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---