On Sun, Nov 21, 2010 at 10:08 PM, Gregg Williams <greg...@innerpaths.net> wrote:
> macscooter:clojurestuff gw$ lein new swank
> Created new project in: swank
>
> *** (here, I added :dev-dependencies [[swank-clojure "1.2.1"]] to
> project.clj)
>
> I discovered that one namespace in clojure-contrib, jmx, has a
> server.clj file, and it calls send-to-emacs on line 53. I guess that
> this jmx/server.clj is somehow hiding the "true" server.clj

Close, but not quite. "lein new swank" spits out a project skeleton
that includes a file swank/core.clj. This shadows the real
swank/core.clj. So just pick a better name for your project.

Or, if you don't need an actual project but just want to play around
with a standalone swank, you can do "lein install swank-clojure
1.3.0-SNAPSHOT" and launch the shell script in
~/.lein/bin/swank-clojure" to get a standalone swank server kind of
like cljr.

-Phil

-- 
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

Reply via email to