Hi, This is a step by step guide to setup Leiningen, Swank-Clojure and SLIME for Emacs.
http://languageagnostic.blogspot.com/2011/05/clojure-in-emacs.html It is partly based on technomancy's post here http://technomancy.us/126 Thanks, Sathish On Wed, May 25, 2011 at 12:21 PM, michele <michelemen...@gmail.com> wrote: > And this one > > https://github.com/technomancy/leiningen/ > > On May 22, 10:53 am, dokondr <doko...@gmail.com> wrote: > > Hello, > > I am trying to install Clojure tools on Mac OS X according to the > > instructions: > > "Clojure, Swank, and Leiningen with Emacs on Linux" > http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.html > > > > Everything goes fine until these steps: > > > > ~$ lein deps > > > > ~$ lein swank > > > > In my project.clj I have: > > > > (defproject test-project "0.1.0" > > :description "Test Project" > > :dependencies [[org.clojure/clojure "1.3.0-master-SNAPSHOT"] > > [org.clojure/clojure-contrib "1.3.0-SNAPSHOT"]] > > :dev-dependencies [[swank-clojure "1.2.1"]]) > > > > Running 'lein deps' gives these errors: > > > > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure- > > contrib-1.3.0-SNAPSHOT.pom from cloju\ > > re-snapshots > > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure- > > contrib-1.3.0-SNAPSHOT.pom from cloja\ > > rs > > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure- > > contrib-1.3.0-SNAPSHOT.jar from cloju\ > > re-snapshots > > Downloading: org/clojure/clojure-contrib/1.3.0-SNAPSHOT/clojure- > > contrib-1.3.0-SNAPSHOT.jar from cloja\ > > rs > > An error has occurred while processing the Maven artifact tasks. > > Diagnosis: > > > > Unable to resolve artifact: Missing: > > ---------- > > 1) org.clojure:clojure-contrib:jar:1.3.0-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId=org.clojure - > > DartifactId=clojure-contrib -Dversion=1.3.0-SNA\ > > PSHOT -Dpackaging=jar -Dfile=/path/to/file > > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=org.clojure - > > DartifactId=clojure-contrib -Dversion=1.3.0-SNAPS\ > > HOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] - > > DrepositoryId=[id] > > > > Path to dependency: > > 1) org.apache.maven:super-pom:jar:2.0 > > 2) org.clojure:clojure-contrib:jar:1.3.0-SNAPSHOT > > > > When I run 'lein swank' I get: > > > > "That's not a task. Use "lein help" to list all tasks." > > > > Any ideas how to install these tools without so much pain? > > > > Thanks, > > Dmitri > > -- > 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