Closed acgetchell closed 11 years ago
I think this is fixed, same as the last issue. We need to push a new version to Clojars.
--lazytest should work with older versions of lazytest On Jan 8, 2012 3:22 AM, "Adam Getchell" < reply@reply.github.com> wrote:
PS C:\Projects\CDT\Newton> lein version Leiningen 1.7.0-SNAPSHOT on Java 1.7.001 Java HotSpot(TM) 64-Bit Server VM PS C:\Projects\CDT\Newton> ls $env:userprofile/.lein/plugins PS C:\Projects\CDT\Newton> cat .\project.clj (defproject Newton "1.0.0-SNAPSHOT" :description "Newtonian Approximation for Causal Dynamical Triangulations in Clojure" :url "https://github.com/ucdavis/CDT" :dependencies [[org.clojure/clojure "1.3.0"]] :marginalia {:javascript["mathjax/MathJax.js"]} :test-selectors {:default (fn [v](not %28:utilities v%29)) :utilities :utilities :all (fn [] true)} :dev-dependencies [[lein-ring "0.4.5"] [lein-marginalia "0.6.1"] [midje "1.3.1"] [lein-midje "1.0.7"] [com.stuartsierra/lazytest "1.2.3"]] :repositories {"stuart" "http://stuartsierra.com/maven2"}) PS C:\Projects\CDT\Newton> lein clean PS C:\Projects\CDT\Newton> lein deps [INFO] artifact org.clojure:clojure: checking for updates from clojars [INFO] artifact org.clojure:clojure: checking for updates from stuart [INFO] artifact org.clojure:clojure: checking for updates from central Copying 2 files to C:\Projects\CDT\Newton\lib\dev PS C:\Projects\CDT\Newton> lein midje All claimed facts (4) have been confirmed. PS C:\Projects\CDT\Newton> lein midje --lazytest
<ScheduledThreadPoolExecutor
java.util.concurrent.ScheduledThreadPoolExecutor@7 497e90e[Running, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]>
At #<Date Sun Jan 08 00:17:05 PST 2012> Reloading Newton.test.utilities, Newton.utilities, Newton.simplex ERROR: #<ClassCastException java.lang.ClassCastException: clojure.lang.Persisten tList cannot be cast to clojure.lang.IFn> java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to cloj ure.lang.IFn
←[31mERROR while loading:←[0m
<ClassCastException java.lang.ClassCastException:
clojure.lang.PersistentList c annot be cast to clojure.lang.IFn> at lazytest.watch$reload_and_run.invoke(watch.clj:23) at lazytest.watch$reloading_runner$fn__352.invoke(watch.clj:35) at clojure.lang.AFn.run(AFn.java:24) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to cloj ure.lang.IFn at lazytest.watch$reload_and_run.invoke(watch.clj:23) at lazytest.watch$reloading_runner$fn__352.invoke(watch.clj:35) At #<Date Sun Jan 08 00:17:20 PST 2012> Reloading Newton.simplex ERROR: #<ClassCastException java.lang.ClassCastException: clojure.lang.Persisten tList cannot be cast to clojure.lang.IFn>
←[31mERROR while loading:←[0m
<ClassCastException java.lang.ClassCastException:
clojure.lang.PersistentList c annot be cast to clojure.lang.IFn> at clojure.lang.AFn.run(AFn.java:24) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Terminate batch job (Y/N)? y PS C:\Projects\CDT\Newton>
Also colorizing wrongly, even though MIDJE_COLORIZE is set to false:
PS C:\Projects\CDT\Newton> $env:midje_colorize false
Reply to this email directly or view it on GitHub: https://github.com/marick/lein-midje/issues/13
Should this issue be closed because of the recent lein-midje release?
The wrong colorization on windows part had me unsure as to whether there weren't two bugs in one. So I did the easy thing and just left it here.
On Sat, Jan 28, 2012 at 9:07 PM, Brian Marick < reply@reply.github.com
wrote:
Should this issue be closed because of the recent lein-midje release?
Reply to this email directly or view it on GitHub: https://github.com/marick/lein-midje/issues/13#issuecomment-3705691
I'm still seeing colorization with lein-midje 1.0.10.
Colorization no longer happens on Windows.
PS C:\Projects\CDT\Newton> lein version Leiningen 1.7.0-SNAPSHOT on Java 1.7.001 Java HotSpot(TM) 64-Bit Server VM PS C:\Projects\CDT\Newton> ls $env:userprofile/.lein/plugins PS C:\Projects\CDT\Newton> cat .\project.clj (defproject Newton "1.0.0-SNAPSHOT" :description "Newtonian Approximation for Causal Dynamical Triangulations in Clojure" :url "https://github.com/ucdavis/CDT" :dependencies [[org.clojure/clojure "1.3.0"]] :marginalia {:javascript["mathjax/MathJax.js"]} :test-selectors {:default (fn [v](not %28:utilities v%29)) :utilities :utilities :all (fn [] true)} :dev-dependencies [[lein-ring "0.4.5"] [lein-marginalia "0.6.1"] [midje "1.3.1"] [lein-midje "1.0.7"] [com.stuartsierra/lazytest "1.2.3"]] :repositories {"stuart" "http://stuartsierra.com/maven2"}) PS C:\Projects\CDT\Newton> lein clean PS C:\Projects\CDT\Newton> lein deps [INFO] artifact org.clojure:clojure: checking for updates from clojars [INFO] artifact org.clojure:clojure: checking for updates from stuart [INFO] artifact org.clojure:clojure: checking for updates from central Copying 2 files to C:\Projects\CDT\Newton\lib\dev PS C:\Projects\CDT\Newton> lein midje All claimed facts (4) have been confirmed. PS C:\Projects\CDT\Newton> lein midje --lazytest
<ScheduledThreadPoolExecutor java.util.concurrent.ScheduledThreadPoolExecutor@7
497e90e[Running, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]>
At #<Date Sun Jan 08 00:17:05 PST 2012> Reloading Newton.test.utilities, Newton.utilities, Newton.simplex ERROR: #<ClassCastException java.lang.ClassCastException: clojure.lang.Persisten tList cannot be cast to clojure.lang.IFn> java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to cloj ure.lang.IFn
←[31mERROR while loading:←[0m
<ClassCastException java.lang.ClassCastException: clojure.lang.PersistentList c
annot be cast to clojure.lang.IFn> at lazytest.watch$reload_and_run.invoke(watch.clj:23) at lazytest.watch$reloading_runner$fn__352.invoke(watch.clj:35) at clojure.lang.AFn.run(AFn.java:24) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to cloj ure.lang.IFn at lazytest.watch$reload_and_run.invoke(watch.clj:23) at lazytest.watch$reloading_runner$fn__352.invoke(watch.clj:35) At #<Date Sun Jan 08 00:17:20 PST 2012> Reloading Newton.simplex ERROR: #<ClassCastException java.lang.ClassCastException: clojure.lang.Persisten tList cannot be cast to clojure.lang.IFn>
←[31mERROR while loading:←[0m
<ClassCastException java.lang.ClassCastException: clojure.lang.PersistentList c
annot be cast to clojure.lang.IFn> at clojure.lang.AFn.run(AFn.java:24) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Terminate batch job (Y/N)? y PS C:\Projects\CDT\Newton>
Also colorizing wrongly, even though MIDJE_COLORIZE is set to false:
PS C:\Projects\CDT\Newton> $env:midje_colorize false