On 01/04/2011 01:17 PM, Stuart Halloway wrote:
Things to try:
(1) Is the directory that contains "reader" on your classpath?
(2) Does it run with the provided script/repl.sh or script\repl.bat scripts?
When I ran it, I was in the directory that contains "reader" (and "classes"),
and "." was in my classpath.
I ran it with the "bin/repl.sh" in the github distro, and it successfully
compiled the class. I noticed that *that* REPL was using 1.1.0-alpha-SNAPSHOT.
So from the exact same directory (with "reader" and "classes" in the current
directory) I ran:
java -cp
.:/home/users/rjray/lib/clojure/clojure-contrib.jar:/home/users/rjray/lib/clojure/clojure.jar:/home/users/rjray/lib/java/jline.jar
jline.ConsoleRunner clojure.main
Note the "." at the head of classpath (plus, it's finding the class to start
compiling it, it just isn't finding it when it references itself). The paths to
clojure.jar and clojure-contrib.jar are the 1.2.0 distribution jars, stock
downloads from clojure.org. And with that REPL, it reported the error.
Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray Sunnyvale, CA http://www.rjray.org
[email protected] http://www.svsm.org
[email protected]
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en