Skip to content
retief edited this page Apr 25, 2011 · 1 revision

To create .class files, the easiest way is to use Cake (https://github.com/ninjudd/cake). After Cake is installed, "cake compile" in the project root directory will compile everything inside src/jvm and every clojure file that is marked to be aot compiled (basically, anything that is supposed to end up as a class). The .class files end up in the classes/ directory, which also should be in the java classpath. YOU DO NOT WANT MIX CLOJURE .class FILES WITH YOUR SOURCE FILES. Clojure generates an absurd number of class files (basically, every single closure seems to generate an inner class, and there are a LOT of closures).

Clone this wiki locally