Does your clojure.bat start from command line without errors?
On Nov 11, 10:21 am, "Kyle R. Burton" <[EMAIL PROTECTED]> wrote: > I've followed the straightforward instructions that BC put together: > > http://bc.tech.coop/blog/081023.html > > It worked flawlessly under Linux. I have lispbox installed on a > windows machine and have been trying to get it to work on that > platform as well. Emacs + slime + clisp does work. > > I created a clojure.bat > > -- > @set CLOJURE_JAR=c:\Documents and > Settings\kburton\personal\projects\clojure-svn\clojure\trunk\clojure.jar > @set CONTRIB_JAR=c:\Documents and > Settings\kburton\personal\projects\clojure-svn\clojure-contrib\trunk\clojure-contrib.jar > @set CLASSPATH=%CLOJURE_JAR%;%CONTRIB_JAR%;. > @java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888 > -server -cp "%CLASSPATH%" clojure.lang.Repl %* > -- > > and put it into C:\WINDOWS so it was on the PATH. I then updated my > dot emacs file: > > -- > (add-to-list 'load-path "C:\\Documents and > Settings\\kburton\\personal\\projects\\clojure-svn\\clojure-mode") > (add-to-list 'load-path "C:\\Documents and > Settings\\kburton\\personal\\projects\\clojure-svn\\swank-clojure") > (setq swank-clojure-binary "C:\\WINDOWS\\clojure.bat") > ; (file-exists-p "C:\\WINDOWS\\clojure.bat") > ; (setq swank-clojure-binary "C:\\Documents and > Settings\\kburton\\bin\\clojure") > > (require 'clojure-auto) > (require 'swank-clojure-autoload) > -- > > Running M-- M-slime clojure^M executes the batch file, so things are > close, but I get the following in the *inferior-lisp* buffer: > > -- > (clojure/add-classpath "file:///c:/Documents and > Settings/kburton/personal/projects/clojure-svn/swank-clojure/") > > (clojure/require (quote swank)) > > nil > > (swank/start-server "c:/DOCUME~1/kburton/LOCALS~1/Temp/slime.15196" > :encoding "iso-latin-1-unix") > > Listening for transport dt_socket at address: 8888 > Clojure > user=> java.lang.Exception: No such namespace: clojure (NO_SOURCE_FILE:1) > user=> java.lang.Exception: No such namespace: clojure (NO_SOURCE_FILE:3) > user=> nil > user=> java.lang.Exception: No such namespace: swank (NO_SOURCE_FILE:7) > user=> > user=> (resolve 'map) > #'clojure.core/map > user=> > -- > > Resolve finds a standard name, but it finds it in clojure.core. I'm > not sure what to try next, this implies to me that the Repl is active, > but somehow didn't get bootstrapped? > > Any help, advice, questions or suggestions are appreciated. > > Regards, > > Kyle R. Burton > > -- > ------------------------------------------------------------------------------ > Wisdom and Compassion are inseparable. > -- Christmas Humphreys > [EMAIL PROTECTED] http://asymmetrical-view.com/ > ------------------------------------------------------------------------------ --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---