Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed add-classpath calls for tools.jar and sa-jdi.jar

  • Loading branch information...
commit 547241eea457931277fa49b0f33a7419120ec6c5 1 parent ca688ad
@GeorgeJahad authored
Showing with 3 additions and 15 deletions.
  1. +3 −3 README
  2. +0 −12 src/cdt/utils.clj
View
6 README
@@ -1,5 +1,5 @@
+Swank-Clojure Front End:
+http://georgejahad.com/clojure/swank-cdt.html
+
Command Line Backend:
http://georgejahad.com/clojure/cdt.html
-
-Emacs Front End:
-http://georgejahad.com/clojure/emacs-cdt.html
View
12 src/cdt/utils.clj
@@ -13,18 +13,6 @@
(:import java.io.File
clojure.lang.Compiler))
-;; add-classpath is ugly, but handles the fact that tools.jar and
-;; sa-jdi.jar are platform dependencies that I can't easily put in a
-;; repo:
-(try
- (with-out-str (add-classpath (format "file:///%s/../lib/tools.jar"
- (System/getProperty "java.home"))))
- (with-out-str (add-classpath (format "file:///%s/../lib/sa-jdi.jar"
- (System/getProperty "java.home"))))
- (catch java.lang.IllegalAccessError e
- (println "warning: unabled to add tools.jar to classpath."
- "This may cause CDT initialization to fail.")))
-
(import com.sun.jdi.Bootstrap)
(defn regex-filter [regex seq]
Please sign in to comment.
Something went wrong with that request. Please try again.