Closed denlab closed 12 years ago
I tried to reproduce this by starting up lein midje --lazytest
waiting for it to say "Done." then starting up lein swank
but it didn't fail. It there some step I missed? What are the minimal steps to reproduce this on your end?
It works fine with clojure 1.2.1:
(defproject tst "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.2.1"]]
:dev-dependencies [[midje "1.3.0-RC4"]
[com.intelie/lazytest "1.0.0-SNAPSHOT"]])
But breaks with clojure 1.3.0:
(defproject tst "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.3.0"]]
:dev-dependencies [[midje "1.3.0-RC4"]
[com.intelie/lazytest "1.0.0-SNAPSHOT"]])
more specifically I did 2 tests on two different env (and varying only the clojure version):
| clj | lein | midje | lein-midje | swank | lazy+swank |
|-------+---------+-----------+------------+-------+-------------|
| 1.2.1 | 1.6.1.1 | 1.3.0-RC4 | 1.0.7 | 1.3.1 | OK |
| 1.3.0 | 1.6.1.1 | 1.3.0-RC4 | 1.0.7 | 1.3.1 | **breaks!** |
|-------+---------+-----------+------------+-------+-------------|
| 1.2.1 | 1.6.2 | 1.3.0-RC4 | 1.0.7 | 1.3.3 | OK |
| 1.3.0 | 1.6.2 | 1.3.0-RC4 | 1.0.7 | 1.3.3 | **breaks!** |
So the workaround for now, is to use Clojure 1.2.1 instead of 1.3.0
I tried reproducing these steps with this configuration:
(defproject lazytest-vs-swank "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.3.0"]]
:dev-dependencies [[midje "1.3.1"]
[com.intelie/lazytest "1.0.0-SNAPSHOT" :exclusions [swank-clojure]]
])
and
996 $ ls ~/.lein/plugins/
lein-midje-1.0.7.jar lein-noir-1.0.0.jar lein-noir-1.1.0-SNAPSHOT.jar swank-clojure-1.3.3.jar
... which looks the same as yours (except that I listed lazytest and used a later version of Midje). I didn't get the same failure as you did in the second lein swank
. (It seemed to work, though I didn't try connecting from my emacs.)
Are you still seeing this problem?
I don't have any problem since midje-1.3.1
Should we close this issue?
Thanks!
Happy to close an issue!
small victory!
lein midje --lazytest is working but breaks lein-swank, details below.
It looks like an incompatibility between lazytest and clojure 1.3.0 that don't appears when doing
lein midje
orlein midje --lazytest
but is triggered by the usage of lein-swankBy the way the new colors are pretty cool, and lazytest very comfortable