Hi Ted, To answer your last question first, each project.clj determines the clojure version used by that project, so you don't really have to worry about old versions interfering or anything.
I'm running Lein 1.6.2, which is relatively old, and it defaults new project to 1.3. If yours is using 1.2.1 as the default for new projects, I suspect it may be even more outdated, which may be the cause of your troubles. What is the output if you run "lein version", and what OS are you running on? On Wednesday, March 21, 2012 3:41:58 AM UTC-7, ted wrote: > > Hi all, > I am very much a beginner with Clojure and have no experience with Java so > please be gentle with me. > I've been playing around with numerous incarnations of Lisp but would like > to settle on Clojure, however I cannot get my environment sorted. > I've installed Leiningen but when I try to do "lein plugin install > swank-clojure 1.3.1" or "lein plugin install lein-oneoff 0.2.0" I get > "[INFO] unable to find resource 'swank-clojure:swank-clojure:jar:1.3.1' in > repository central (http://repo1.maven.org/maven2)" (or equivalent for > lein-oneoff) > I'm sure it is something simple but I have no idea where to look and feel > like I'm stuck at the first hurdle. Anybody any idea? > I think Leiningen is installed correctly as I can create new projects. I > did notice however that the project.clj file as a default refers to clojure > 1.2.1 as opposed to clojure 1.3.0. It is very likely that I have old > versions of Clojure floating around on my machine as I've played around > with Clojure in the past. (I'd like to get rid of the old versions but not > sure in which directory(/ies) they have been installed > Please let me know if I need to provide more info. > Thanks in advance > Ted > -- 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