marick/lein-midje

lein midje fails with eval-in-leiningen => true

cch1 opened this issue · 2 comments

cch1 commented

With Clojure version 1.2.1 and leiningen version 1.5.2 or 1.6:

# lein plugin install lein-midje 1.0.2
# lein new my_proj
# cd my_proj
<edit project.clj to add midje 1.1.1 as dev dependency>
* At this point, lein midje behaves nicely
<edit project.clj to set eval-in-leiningen to true>
* At this point, lein midje chokes>

According to technomancy on IRC today, the problem is a bootclasspath issue and it can be fixed with:

"the do form on the last line should be replaced with '(require '[clojure walk template stacktrace test string])"

"some background: http://dev.clojure.org/jira/browse/CLJ-673"

-Chris

Should be fixed in 1.0.3

On Jul 5, 2011, at 3:43 PM, cch1 wrote:

With Clojure version 1.2.1 and leiningen version 1.5.2 or 1.6:

lein plugin install lein-midje 1.0.2

lein new my_proj

cd my_proj

<edit project.clj to add midje 1.1.1 as dev dependency>

  • At this point, lein midje behaves nicely
  • At this point, lein midje chokes>

According to technomancy on IRC today, the problem is a bootclasspath issue and it can be fixed with:

"the do form on the last line should be replaced with '(require '[clojure walk template stacktrace test string])"

"some background: http://dev.clojure.org/jira/browse/CLJ-673"

-Chris

Reply to this email directly or view it on GitHub:
#1


Brian Marick, Artisanal Labrador
Contract programming in Ruby and Clojure
Occasional consulting on Agile
www.exampler.com, www.twitter.com/marick

cch1 commented

Seems fixed to me.

Thanks for the quick response.