Re: Compiling from command line (solved)

2009-06-23 Thread Thibaut Barrère
Hi guys, thanks for the comments! -- Thibaut --~--~-~--~~~---~--~~ 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 moderat

Re: Compiling from command line (solved)

2009-06-22 Thread Laurent PETIT
Hi, If I remember correctly and if it has not changed since, for the second solution (where there is the classes folder - which I would recommand btw, aka not mixing source folders and compilation artifacts folders -), the classes folder (or any other name you could set *compile-path* to) also *m

Re: Compiling from command line (solved)

2009-06-22 Thread pmf
On Jun 23, 12:30 am, Thibaut Barrère wrote: > btw - if there is a better way to achieve this, I'm ready to learn :) There's the main-proc in clojure.lang.Compile, which uses the system property clojure.compile.path to define the output directory and accepts a list of libs to compile. (I don't kn

Compiling from command line (solved)

2009-06-22 Thread Thibaut Barrère
Hi, I found instructions about how to compile from the REPL very quickly, but it took me longer to manage to compile from the command-line. I'm sharing it here in case it's useful to someone else. To compile a .clj file, I've used this: java -cp libs/clojure-1.0.0.jar:. clojure.main -e "(set! *