New to Clojure - productivity and debugging with Emacs

2017-01-07 Thread ahawk
Hi everyone I am a rather unexperienced Clojure user, so please bear with me. I am developing a web app using popular libraries such as ring, compojure, liberator and friend to handle routing, content negotiation and authentication. There is quite a lot of map manipulation going on with the

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

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.

[ANN] cloure.math.combinatorics 0.1.4 (with clojurescript support)

2017-01-07 Thread Mark Engelberg
https://github.com/clojure/math.combinatorics clojure.math.combinatorics is a Clojure contrib library for generating permutations, combinations, subsets, selections, and partitions of collections. The new release uses cljc files to provide cross-platform support for Clojure 1.7 and up, and has

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,

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: >

Re: Deploying multiple Clojure apps on one server using Reagent, Nginx, and Supervisor (Solved)

2017-01-07 Thread Ray Miller
If you're using ring, you can use the lein-ring plugin to build the uberwar: simply `lein ring uberwar`. Check out the README for options if you need to deviate from the defaults: https://github.com/weavejester/lein-ring You'll end up with an uberwar for each application you want to deploy. These