Created
June 1, 2012 08:37
-
-
Save st/2850385 to your computer and use it in GitHub Desktop.
leiningen problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -version | |
java version "1.6.0_31" | |
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode) | |
$ lein2 -v | |
Leiningen 2.0.0-preview4 on Java 1.6.0_31 Java HotSpot(TM) 64-Bit Server VM | |
$ lein2 new project | |
Generating a project called project based on the 'default' template. | |
$ cd project/ | |
$ more project.clj | |
(defproject project "0.1.0-SNAPSHOT" | |
:description "FIXME: write description" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:dependencies [[org.clojure/clojure "1.3.0"]]) | |
$ lein2 repl | |
nREPL server started on port 54499 | |
Welcome to REPL-y! | |
Clojure 1.2.0 | |
Exit: Control+D or (exit) or (quit) | |
Commands: (user/help) | |
Docs: (doc function-name-here) | |
(find-doc "part-of-name-here") | |
nil Source: (source function-name-here) | |
(user/sourcery function-name-here) | |
Javadoc: (javadoc java-object-or-class-here) | |
Examples from clojuredocs.org: [clojuredocs or cdoc] | |
(user/clojuredocs name-here) | |
(user/clojuredocs "ns-here" "name-here") | |
user=> *clojure-version* | |
{:major 1, :minor 2, :incremental 0, :qualifier ""} | |
user=> |
OK, just deleted "guilty" here :
/Library/Java/Extensions/clojure.jar
Everything's OK now !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just copy/pasted commands from a shell to show my problem.
I do not understand why lein2 uses 1.2.0 clojure version instead of 1.3.0
Dependencies in 'project' are limited to :dependencies [[org.clojure/clojure "1.3.0"]]