Re: Getting Started with Gen-Class

2008-12-16 Thread J. McConnell
On Mon, Dec 15, 2008 at 7:33 PM, Rich Hickey richhic...@gmail.com wrote: When pulling new Clojure from SVN, please do: ant clean ant So you know you have a consistent build. If the supported way to build Clojure is to clean before the build, can we just have the init target depend on

Getting Started with Gen-Class

2008-12-15 Thread CuppoJava
Hi, I just ran into a need for using gen-class, and need some help getting started. I upgraded to the latest Clojure version using svn co https://clojure.svn.sourceforge.net/svnroot/clojure clojure and I run the REPL using java -jar clojure.jar However when I type: user= (compile) I get the

Re: Getting Started with Gen-Class

2008-12-15 Thread Rich Hickey
On Dec 15, 5:35 pm, CuppoJava patrickli_2...@hotmail.com wrote: Hi, I just ran into a need for using gen-class, and need some help getting started. I upgraded to the latest Clojure version using svn cohttps://clojure.svn.sourceforge.net/svnroot/clojureclojure and I run the REPL using

Re: Getting Started with Gen-Class

2008-12-15 Thread CuppoJava
Tried ant clean, it's still giving me the same error. Unable to resolve symbol: compile in this context. Is there a way to check my Clojure version from the REPL? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Getting Started with Gen-Class

2008-12-15 Thread CuppoJava
I checked with SVN. It says I checked out revision number 1160? --~--~-~--~~~---~--~~ 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 To unsubscribe from this

Re: Getting Started with Gen-Class

2008-12-15 Thread Randall R Schulz
On Monday 15 December 2008 17:05, CuppoJava wrote: I checked with SVN. It says I checked out revision number 1160? As of this writing, that's the latest rev. In your previous message you said you tried ant clean. I assume that you followed that by ant jar (or just did ant clean jar). By the

Re: Getting Started with Gen-Class

2008-12-15 Thread CuppoJava
I tried ant clean followed by ant which built a clojure.jar which is exactly 488,904 bytes. And i get the message Unable to resolve symbol: compile in this context when i type (compile) at the REPL. Thanks very much for your help -Patrick --~--~-~--~~~---~--~~

Re: Getting Started with Gen-Class

2008-12-15 Thread Dave Newton
--- On Mon, 12/15/08, CuppoJava wrote: And i get the message Unable to resolve symbol: compile in this context when i type (compile) at the REPL. How are you running the REPL? It's working for me whether I build with Ant or Maven, rev 1160. Dave

Re: Getting Started with Gen-Class

2008-12-15 Thread CuppoJava
I'm running the REPL by typing java -jar clojure.jar in the directory C:\clojure which contains the clojure.jar file. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email