Leiningen profile problem

2014-07-28 Thread Paul Butcher
Oops - I originally sent this to the ClojureScript group, which probably wasn’t the best place. Apologies to those who subscribe to both lists for the spam: I’m clearly misunderstanding something fundamental about how Leiningen profiles work. I’d appreciate help fixing my understanding. I’m try

Re: Leiningen profile problem

2014-07-28 Thread Thomas Heller
Your issue is probably due to AOT compilation, uberjar aot compiles everything and leaves alot of class files in your target directory (aka classpath). When you run your app afterwards the class file is used instead of the clj file since the .class file is "newer". When you run lein clean those

Re: Leiningen profile problem

2014-07-28 Thread Paul Butcher
Ah! I thought that Leiningen put class files in different places for different profiles, but it looks like I was mistaken. Thanks for the EDN hint - that sounds like a good way to go. Cheers! -- paul.butcher->msgCount++ Silverstone, Brands Hatch, Donington Park... Who says I have a one track m

Re: Leiningen profile problem

2014-07-28 Thread Curtis Summers
Paul, Leiningen can isolate the target-paths by profile if you use :target-path in your project.clj with the %s in it. Per the sample project.clj file ( https://github.com/technomancy/leiningen/blob/master/sample.project.clj): ;; All generated files will be placed in :target-path. In order

Re: Leiningen profile problem

2014-07-29 Thread Paul Butcher
Ah! Thanks Curtis - much appreciated. Any insight as to why that’s not the default configuration? -- paul.butcher->msgCount++ Silverstone, Brands Hatch, Donington Park... Who says I have a one track mind? http://www.paulbutcher.com/ LinkedIn: http://www.linkedin.com/in/paulbutcher Skype: paulra