Compilation and Class Generation newbie questions

2010-02-15 Thread Paulo Sérgio Medeiros
Hello everyone, I think i've not figured out yet how compile and/or namespace works. I'm trying to execute the example posted in http://clojure.org/compilation I've created a file named hello.clj and put the clojure.jar in the same directory (c:\clojure_tests). Then, i started the REPL using

Re: Compilation and Class Generation newbie questions

2010-02-15 Thread Alex Ott
Hello If you declared clojure.examples.hello namespace, then you need to have file hello.clj in clojure/examples/ directory. and you need to have c:\clojure_tests in classpath, something like: java -cp clojure.jar:c:\clojure_tests clojure.main Paulo Sérgio Medeiros at Mon, 15 Feb 2010 03:13:51

Re: Compilation and Class Generation newbie questions

2010-02-15 Thread Meikel Brandmeyer
Hi, On Feb 15, 6:13 am, Paulo Sérgio Medeiros pase...@gmail.com wrote: I think i've not figured out yet how compile and/or namespace works. I'm trying to execute the example posted inhttp://clojure.org/compilation I've created a file named hello.clj and put the clojure.jar in the same

Re: Compilation and Class Generation newbie questions

2010-02-15 Thread Paulo Sérgio Medeiros
Hi! Thanks, i think i haven't executed java from command line for a while and forgot some things. ;-) On Mon, Feb 15, 2010 at 11:32 AM, Meikel Brandmeyer m...@kotka.de wrote: Hi, On Feb 15, 6:13 am, Paulo Sérgio Medeiros pase...@gmail.com wrote: I think i've not figured out yet how compile