clojure-csv is not a part of clojure-contrib.  What is at $extra_classpath?  
For this to work, it would need to include the jar for clojure-csv.

- Chas

P.S. Mostly off-topic: the sooner you can get away from whatever re-packaging 
your distro has put together for Clojure, the better off you'll be.  Linux 
package managers are generally not kind with Java (or python or ruby, etc) 
libraries, at least in my experience.

On Jun 14, 2011, at 3:26 PM, octopusgrabbus wrote:

> I am trying to use clojure-csv, but am having a lot of cockpit error.
> 
> Here is my current configuration:
> Running Clojure 1.2.1.
> Modified a shell script installed by Synaptic to include clojure-
> contrib.jar:
> 
> exec java -cp /usr/share/java/clojure.jar:/usr/share/java/clojure-
> contrib.jar"$extra_classpath" clojure.main "$@"
> 
> clojure.jar and clojure-contrib.jar are links
> lrwxrwxrwx 1 root root      25 2011-06-09 18:38 /usr/share/java/
> clojure-contrib.jar -> clojure-contrib-1.2.0.jar
> lrwxrwxrwx 1 root root      17 2011-06-09 18:23 /usr/share/java/
> clojure.jar -> clojure-1.2.1.jar
> c
> 
> This fails:
> 
> (ns test-csv
>  (:import (java.io BufferedReader)))
>  (use clojure-csv.core)
> 
> with java.lang.ClassNotFoundException: clojure-csv.core
> (NO_SOURCE_FILE:6)
> 
> What am I doing wrong?
> 
> Thanks.
> cmn
> 
> -- 
> 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 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

Reply via email to