Shawn Hoover wrote:
On Tue, Jan 12, 2010 at 10:05 PM, brian <brw...@gmail.com
<mailto:brw...@gmail.com>> wrote:
Hi all,
I put the example code from Programming Clojure book
here:
C:\shcloj-code\code\examples
I verified that "introduction.clj" is there.
This is cut and pasted from my .emacs file located in c:\program
files\brian
(setq swank-clojure-classpath
(list "c:\shcloj-code\code\examples")
Assuming that your HOME environment variable is set to c:\program
files\brian
yes
and your .emacs is actually being loaded (I mention that because
normally .emacs is under your Documents and Settings or Users directory,
c:\program files\brian
its here and i double checked it is the one i'm actually editing
but it should respect %HOME%), I think the problem is the \ in your
classpath need to be escaped. Try converting them to / or \\.
tried both, they don't work
user> (require 'introduction)
nil
user> (use 'introduction)
; Evaluation aborted.
java.lang.Exception: namespace 'introduction' not found (NO_SOURCE_FILE:0)
[Thrown class clojure.lang.Compiler$CompilerException]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [CAUSE] Throw cause of this exception
Backtrace:
0: clojure.lang.Compiler.eval(Compiler.java:4543)
1: clojure.core$eval__3990.invoke(core.clj:1728)
Shawn
--
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