Recent changes have broken swank.asd. It no longer loads the Swank server code into a Lisp when I execute (asdf:load-system 'swank). Please switch to an ASDF file that looks more like the following. Thanks.
Bob
(defsystem swank :name "Swank" :description "Swank server." :version "0.1" :license "public domain" :serial t :components ((:file "swank-backend")
#+(or cmu scl sbcl ecl) (:file "swank-source-path-parser") #+(or cmu scl sbcl ecl) (:file "swank-source-file-cache") #+clisp (:file "xref") #+(or clozure clisp) (:file "metering")
#+allegro (:file "swank-allegro") #+armedbear (:file "swank-abcl") #+clisp (:file "swank-clisp") #+clozure (:file "swank-ccl") #+cmu (:file "swank-cmucl") #+cormanlisp (:file "swank-corman") #+ecl (:file "swank-ecl") #+lispworks (:file "swank-lispworks") #+sbcl (:file "swank-sbcl") #+scl (:file "swank-scl")
#+(or allegro clisp clozure cormanlisp ecl lispworks sbcl) (:file "swank-gray")
(:file "swank-match") (:file "swank-rpc") (:file "swank")))
This is now fixed, as you've seen already. I'll use this suggestion in pull request #83, which is kind of dormant, but not dead.
Thanks, João
On Wed, Feb 5, 2014 at 9:07 PM, Robert Brown robert.brown@gmail.com wrote:
Recent changes have broken swank.asd. It no longer loads the Swank server code into a Lisp when I execute (asdf:load-system 'swank). Please switch to an ASDF file that looks more like the following. Thanks.
Bob
(defsystem swank :name "Swank" :description "Swank server." :version "0.1" :license "public domain" :serial t :components ((:file "swank-backend")
#+(or cmu scl sbcl ecl) (:file "swank-source-path-parser") #+(or cmu scl sbcl ecl) (:file "swank-source-file-cache") #+clisp (:file "xref") #+(or clozure clisp) (:file "metering")
#+allegro (:file "swank-allegro") #+armedbear (:file "swank-abcl") #+clisp (:file "swank-clisp") #+clozure (:file "swank-ccl") #+cmu (:file "swank-cmucl") #+cormanlisp (:file "swank-corman") #+ecl (:file "swank-ecl") #+lispworks (:file "swank-lispworks") #+sbcl (:file "swank-sbcl") #+scl (:file "swank-scl")
#+(or allegro clisp clozure cormanlisp ecl lispworks sbcl) (:file "swank-gray")
(:file "swank-match") (:file "swank-rpc") (:file "swank")))
[sorry if you're getting this message twice]
João Távora joaotavora@gmail.com writes:
This is now fixed, as you've seen already. I'll use this suggestion in pull request #83, which is kind of dormant, but not dead.
BTW, Robert, while this is already fixed in the master branch, if you find the time, I'd appreciate some testing on the "choose-swank-loading-method" branch, where we're adding "proper" ASDF support to SLIME.
It's pull request 83 on github:
https://github.com/slime/slime/pull/83
Not only is the .asd system updated to saner definitions like in your suggestion, but in this branch ASDF is the default swank-loading method (gracefully degrading to swank-loader.lisp if ASDF is not found or outdated). After some fight, it's passing tests on sbcl, cmucl, allegro and abcl.
Have a look, João