Re: lein uberjar not creating class files with :aot

2015-01-04 Thread Shantanu Kumar
I have run into this (using lein 2.5.0 and 2.4.1) as well. `lein uberjar` seems to wipe out the pre-generated classes when creating an uberjar. Shantanu On Sunday, 4 January 2015 01:09:30 UTC+5:30, Shoeb Bhinderwala wrote: > > When I create a uberjar with aot compilation I am surprised to see ".

Re: lein uberjar not creating class files with :aot

2015-01-03 Thread Michael Blume
(in the clojure.java.jdbc namespace, I should have said) On Sat Jan 03 2015 at 12:43:31 PM Michael Blume wrote: > it's hard to say exactly what's going on without tinkering with your > project, but Connectable is found in the clojure.java.jdbc, so I'd make > absolutely sure that namespace has be

Re: lein uberjar not creating class files with :aot

2015-01-03 Thread Michael Blume
it's hard to say exactly what's going on without tinkering with your project, but Connectable is found in the clojure.java.jdbc, so I'd make absolutely sure that namespace has been required before Connectable is referred to. And then, well, if it were me, I'd just ditch AOT. In my experience it cau

lein uberjar not creating class files with :aot

2015-01-03 Thread Shoeb Bhinderwala
When I create a uberjar with aot compilation I am surprised to see ".clj" files in there. Then when I run the jar with the "java -jar myuberjar" command I get a ClassNotFoundException. For example, I am have the following dependency in my project.clj file: [org.clojure/java.jdb