Re: AOT compilation newbie mistakes

2010-08-23 Thread Isaac Gouy
On Aug 22, 4:28 pm, Robert McIntyre wrote: > oh yes -- please don't do it manually for anything "production" > > But, it's good to know what's actually going on behind the scenes, > especially when things stop working :) For my simple needs - java -cp .:clojure.jar -Dclojure.compile.path=

Re: AOT compilation newbie mistakes

2010-08-23 Thread Robert McIntyre
oh yes -- please don't do it manually for anything "production" But, it's good to know what's actually going on behind the scenes, especially when things stop working :) --Robert McIntyre On Sun, Aug 22, 2010 at 7:05 PM, Wilson MacGyver wrote: > On Sun, Aug 22, 2010 at 2:39 PM, Isaac Gouy wrot

Re: AOT compilation newbie mistakes

2010-08-22 Thread Isaac Gouy
On Aug 22, 3:06 pm, Robert McIntyre wrote: > I feel like a lot of people have trouble with this (I certainly do!) > so I made this tutorial with working examples to follow. Thanks $ /usr/local/src/jdk1.6.0_18/bin/java -cp .:clojure.jar - Dclojure.compile.path=. clojure.main Clojure 1.2.0 user

Re: AOT compilation newbie mistakes

2010-08-22 Thread Isaac Gouy
On Aug 22, 3:06 pm, Robert McIntyre wrote: > I feel like a lot of people have trouble with this (I certainly do!) > so I made this tutorial with working examples to follow. > this is by default the $PROJECT-DIR/classes folder Is there a way to set that default to something else? Maybe using

Re: AOT compilation newbie mistakes

2010-08-22 Thread Wilson MacGyver
On Sun, Aug 22, 2010 at 2:39 PM, Isaac Gouy wrote: > 2) How can I AOT compile Clojure files without using the REPL? on this point, I think most people use build tools to do it. gradle with clojuresque plugin, lein and mvn with clojure plugin will all do this. -- Omnem crede diem tibi diluxisse

Re: AOT compilation newbie mistakes

2010-08-22 Thread Robert McIntyre
I feel like a lot of people have trouble with this (I certainly do!) so I made this tutorial with working examples to follow. it's at: http://www.rlmcintyre.com/iassac-gouy.tar.bz2 or http://www.bortreb.com/iassac-gouy.tar.bz2 just unpack it into your home directory , read the README, and play a