Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #152 from bbatsov/java-version

[Fix #151] Display JVM and nREPL version information on start
  • Loading branch information...
commit dbb22a299bf923f3873e0cde50b84ff02ca8ef50 2 parents d9abc32 + 149a0e8
@trptcolin authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/clj/reply/initialization.clj
View
6 src/clj/reply/initialization.clj
@@ -2,11 +2,13 @@
(:require [clojure.pprint]
[clojure.repl]
[clojure.main]
+ [clojure.tools.nrepl :only [version]]
[trptcolin.versioneer.core :as version]))
(def prelude
- `[(println "REPL-y" ~(version/get-version "reply" "reply"))
- (println "Clojure" (clojure-version))])
+ `[(println (str "REPL-y " ~(version/get-version "reply" "reply") ", nREPL " (:version-string clojure.tools.nrepl/version)))
+ (println "Clojure" (clojure-version))
+ (println (System/getProperty "java.vm.name") (System/getProperty "java.runtime.version"))])
(defn help
"Prints a list of helpful commands."
Please sign in to comment.
Something went wrong with that request. Please try again.