Oops -- I got the class and compile paths mixed up. But I wonder why that worked in the OP.
On Mar 7, 6:27 pm, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: > The Java system property "clojure.compile.path" is the directory where the > Clojure compiler will write out .class files. It should be one directory > name, not a list. > > When Clojure starts, it sets the Var *compile-path* to the value of the Java > system property. The default is the directory named "classes". > > Whatever value you set for clojure.compile.path, that directory must also be > on the Java classpath, set with the -cp command-line option to java. > > So, if you want to compile Clojure namespaces rooted at the current > directory, you would run: > > java -Dclojure.compile.path=. -cp .:clojure.jar clojure.main > > -Stuart Sierra > clojure.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en