Re: classpath problem on MacOSX

2008-10-28 Thread Chanwoo Yoo
Thanks! It works! For someone like me, here is an example code. Case 1: clj file /Users/chanwoo/Documents/lisp/clojure/code/clojure/contrib/duck- streams/duck-stream.clj (add-classpath "file:///Users/chanwoo/Documents/lisp/clojure/code/") (use 'clojure.contrib.duck-streams) Case 2: Test class i

Re: classpath problem on MacOSX

2008-10-28 Thread mb
Hi, On 28 Okt., 12:42, Chanwoo Yoo <[EMAIL PROTECTED]> wrote: > Thanks! mb. I did a stupid mistake. There no stupid mistakes. Unless you do them twice... ;) > "export CLASSPATH=.:/Users/chanwoo/Documents/lisp/clojure/code: > $CLASSPATH" Is this verbatim? The first " should be after the =. ech

Re: classpath problem on MacOSX

2008-10-28 Thread Achim Passen
Ah, Java's classpath handling - a constant source of delight. Using $CLASSPATH is not a reliable way of adjusting your classpath, because its contents will only be considered if you don't specifiy anything else on the java command line, i.e. if you start clojure like this $ java -cp

Re: CLASSPATH problem on MacOSX

2008-10-28 Thread Giancarlo Angulo
not sure but try renaming = ANGOL = -|[EMAIL PROTECTED], =|+^_^X++~_~,@- "The only thing worse than a hopeless romantic is a hopeful one" Magbasa bago Mamuna. Mag-isip bago mambatikos Without Truth there is no Justice, Without Justice, there is Tyranny Semper fi Proof of De

Re: classpath problem on MacOSX

2008-10-28 Thread Chanwoo Yoo
Thanks! mb. I did a stupid mistake. But It still doesn't work after correcting typing. canu-yuyi-macbook-air:duck_streams chanwoo$ pwd /Users/chanwoo/Documents/lisp/clojure/code/clojure/contrib/ duck_streams canu-yuyi-macbook-air:duck_streams chanwoo$ ls duck_streams.clj ~/.profile "export CLAS

Re: classpath problem on MacOSX

2008-10-28 Thread mb
Hi, On 28 Okt., 08:42, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi. > > When I try to use 'contrib' library, next error message occurs. > > user=> (use 'clozure.contrib.duck-streams) > java.io.FileNotFoundException: Could not locate Clojure resource on > classpath: clozure/contrib/duck_st