Permalink
Browse files

minor cleanup

  • Loading branch information...
1 parent d743f49 commit 200d30076db2093ec64ee0d64663cf424f9d9bbb George Jahad committed Apr 24, 2011
Showing with 5 additions and 4 deletions.
  1. +1 −2 src/cdt/ui.clj
  2. +3 −1 src/cdt/utils.clj
  3. +1 −1 test/cdt/test.clj
View
@@ -13,10 +13,9 @@
[cdt.events :as cdte]
[cdt.break :as cdtb]
[cdt.reval :as cdtr])
- (:use alex-and-georges.debug-repl)
(:import java.lang.management.ManagementFactory))
-(def cdt-release "1.2.6a")
+(def cdt-release "1.2.6b")
(defn cdt-attach
([port] (cdt-attach "localhost" port))
View
@@ -21,7 +21,9 @@
(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))
+ (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)
View
@@ -1,5 +1,5 @@
(ns cdt.test
- (:use [cdt utils events break reval core] :reload-all)
+ (:use [cdt ui] :reload-all)
(:use [clojure.test])
(:import java.util.concurrent.CountDownLatch
java.util.concurrent.TimeUnit

1 comment on commit 200d300

This issues a somewhat misleading warning even when tools.jar and sa-jdi.jar are already in the classpath.

Please sign in to comment.