marick / lein-midje

Leiningen plugin for Midje
MIT License
77 stars 29 forks source link

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

Closed cch1 closed 13 years ago

cch1 commented 13 years ago

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

marick commented 13 years ago

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: https://github.com/marick/lein-midje/issues/1


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

cch1 commented 13 years ago

Seems fixed to me.

Thanks for the quick response.