Hi rsgoheen, Here how I'm now able to work with Clojurebox on Windows 7. Perhaps mine it isn't exactly the same as yours but can give some hints.
After some process sniffing, I found that Emacs was searching the .emacs file under C:\, so I created it. In order to create it, you have to do it in DOS (the WIN Explorer doesn't allow you to make dotted files), furthermore acting as an Administrator. So: open the DOS console as an Administrator and type: C:\Windows\system32>echo > c:\.emacs Now you can open it with Notepad (again, as an Administrator) and type your classpath configuration: C:\Windows\system32>notepad c:\.emacs After adding the "(setq swank-clojure-classpath ... " stuff, saving the file and restarting Clojurebox, you should be able to require/use the new classpath .clj files. Hope this help, ciao. On Fri, Jun 10, 2011 at 4:37 PM, rsgoheen <goh...@gmail.com> wrote: > This is absolutely killing me. I'm starting to use ClojureBox to > further my knowledge of Clojure, and I can't get it to pick up the > individual *.clj files I'm working with or the example code from > Halloway's book. There's lots of good information on line telling me > how to set up my .emacs file, and none of it seems to work for me. > I'm running on Windows 7, and here are the details: > > My .emacs (created through C-x C-f ./.emacs) looks like this > --------------------------------------------------- > (setq swank-clojure-extra-classpaths '()) > (add-to-list 'swank-clojure-extra-classpaths "C:/Work/schloj-code") > > (tool-bar-mode -1) > --------------------------------------------------- > I know it's reading correctly, because the last line is turning the > toolbar off when emacs is started > > I've unzipped the sample files from Halloway's books to the C:\work > \schloj-code\ location, and there is a subfolder called "examples", > and a file in there called "introduction.clj" > > When I go to the REPL and type in: > > (using 'examples.introduction) > > I get the following file-not-found exception stack: > --------------------------------------------------- > Could not locate examples/introduction__init.class or examples/ > introduction.clj on classpath: > [Thrown class java.io.FileNotFoundException] > > Restarts: > 0: [QUIT] Quit to the SLIME top level > > Backtrace: > 0: clojure.lang.RT.load(RT.java:412) > 1: clojure.lang.RT.load(RT.java:381) > 2: clojure.core$load$fn__4511.invoke(core.clj:4905) > 3: clojure.core$load.doInvoke(core.clj:4904) > 4: clojure.lang.RestFn.invoke(RestFn.java:409) > > --------------------------------------------------- > > How do I figure out what I might be doing wrong? Is there any way to > tell where the REPL is looking for this file to know it's looking in > the correct place? Is there a Windows or Windows 7 gotcha here that > I'm missing (case sensitivity? permissions denied?) > > Please, this is making me nuts.... > > > > -- > 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