Deraen / boot-cljx

Boot task to compile Cljx
MIT License
7 stars 3 forks source link

Exception when using v.2.1.2 #8

Closed jeluard closed 9 years ago

jeluard commented 9 years ago

I get the following exception when running cljx task with boot-cljx version 2.1.2:

clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: Could not locate boot/repl__init.class or boot/repl.clj on classpath: , compiling:(deraen/boot_cljx.clj:1:1)
          java.io.FileNotFoundException: Could not locate boot/repl__init.class or boot/repl.clj on classpath:
                                    ...
                   clojure.core/load/fn                          core.clj: 5641
                      clojure.core/load                          core.clj: 5640
                                    ...
                  clojure.core/load-one                          core.clj: 5446
               clojure.core/load-lib/fn                          core.clj: 5486
                  clojure.core/load-lib                          core.clj: 5485

This is with latest boot rc9.

I can reproduce this issue with saapas. Everything works fine with boot-cljx version 2.1.1.

Deraen commented 9 years ago

Hi,

I'm unable to reproduce this.

jeluard commented 9 years ago

Somehow I can't reproduce either with latest boot. Not sure what triggered this.

jeluard commented 9 years ago

Actually I was able to reproduce the issue on a project with lots of dependencies but using latest master of boot-cljx fixes it. Must be some weird dependency conflict.

Deraen commented 9 years ago

Perhaps this could be fixed by using a pod with no project dependencies? Currently boot-cljx is using a pod which contains all project dependencies plus cljx.

In cljx 0.6.0 the Leiningen plugin was changed to run cljx in Leiningen jvm instead of project jvm but I decided to keep using pods as they don't have the the same overhead as eval-in-project in Leiningen.

Deraen commented 9 years ago

Oh, I only now read that the latest version works.

jeluard commented 9 years ago

Do you have any plan to release 0.3.0 with current master changes?

Deraen commented 9 years ago

Released.

jeluard commented 9 years ago

Cool thanks!