Re: cljc aot compilation fails on Windows

2017-01-07 Thread Torsten Uhlmann
I found it, thanks for re-motivating me! While preparing a minimal example I found that the error does not occur when using cljc and clj files, it only occured when adding cljs and lein-cljsbuild to the mix. The "wong name" was part of the error message @Alex. I was using lein-cljsbuild 1.1.4.

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Torsten Uhlmann
I found it, thanks for re-motivating me! While preparing a minimal example I found that the error does not occur when using cljc and clj files, it only occured when adding cljs and lein-cljsbuild to the mix. The "wong name" was part of the error message @Alex. I was using lein-cljsbuild 1.1.4. A

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Alex Miller
I think it's unlikely that this has to do with CLJ-703. But certainly, if you could find a version that doesn't exhibit the problem that would be interesting. On Saturday, January 7, 2017 at 3:11:37 PM UTC-6, Matching Socks wrote: > > You will eventually have to whittle it down to a minimal, rep

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Alex Miller
The "Reloading Clojure file" message is not coming from Clojure or ClojureScript - that must be coming from Leiningen or a lein plugin. Is that "wrong name" part in the actual error or is that something you added? Again, that doesn't seem like something from the language but from the tooling.

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Matching Socks
You will eventually have to whittle it down to a minimal, reproducible case and file it in Jira. But if you are inclined first to entertain some wild and irresponsible speculation, then perhaps the problem might be related to the fix for CLJ-703, and it would work better to use the Clojure 1.7

Re: cljc aot compilation fails on Windows

2017-01-07 Thread Torsten Uhlmann
I guess not many people are using Windows then :) I just tried that same project on a Mac VM with case insensitive file system, where it worked flawless. Maybe someone has an idea how to investigate further? Thanks, Torsten. Am Montag, 2. Januar 2017 11:11:42 UTC+1 schrieb Torsten Uhlmann: > >

cljc aot compilation fails on Windows

2017-01-02 Thread Torsten Uhlmann
Hi, I was trying to build my ClojureScript project on Windows 10 instead of Linux or Mac, and I run into this problem. When running "lein uberjar" with ":aot :all" for every cljc file I have in my project it reports something like: Reloading Clojure file "\robur\middleware.cljc" failed. java.

Re: AoT Compilation fails

2012-01-08 Thread Stephen Compall
On Sun, 2012-01-08 at 10:01 -0800, Narvius wrote: > lein compile/jar/uberjar fails, yelling NullPointerException at > game.clj:1. Source and exact error message would be helpful here. > (slime-compile-and-load-file) works on every single file without any > exceptions. This doesn't tell you that

AoT Compilation fails

2012-01-08 Thread Narvius
Hello. I'm currently hacking away at a small project (turn-based game) that as of now spans over 7 namespaces/files. I'm working in an emacs/lein/swank environment. lein run works without problems. lein compile/jar/uberjar fails, yelling NullPointerException at game.clj:1. (slime-compile-and-load