Leiningen compilation order?
问题 I'm just learning how to lein , and I'd like to use from a Java source a class created by deftype in a Clojure source. This wasn't covered in the basic tutorial and I can't get it to work properly. The problem is that Java source can't import Clojure class, since it hasn't been compiled yet. And Clojure class isn't compiled, since compilation is aborted by the Java source. I give a minimal example: Create a new project with: lein new app javafoo Add to project.clj :aot :all :java-source-paths