Re: newbie question on compilation

2009-02-10 Thread Shawn Hoover
On Tue, Feb 10, 2009 at 11:32 AM, Tzach wrote: > > Thanks for the response > Yes, I'm using Emacs SLIM. > > what should be the relation between the file (hello.clj) path to the > classpath? > Is the compile work on the file name, or on the function? in other > word, should I evaluate the function

Re: newbie question on compilation

2009-02-10 Thread Shawn Hoover
On Tue, Feb 10, 2009 at 10:07 AM, Lennart Staflin wrote: > > > > On Feb 10, 2:45 pm, Tzach wrote: > > > I got "error in process filter: Wrong number of arguments: nil, 3". > > What am I missing here? > > Are you using Emacs with slime? > > Psychic debugging skills in action :) --~--~-~--

Re: newbie question on compilation

2009-02-10 Thread Laurent PETIT
Sorry, I can't help you concerning emacs and slime, I'm a noob concerning their configuration. BTW, if you don't want to bother with classpath considerations, ..., you should think about trying either netbeans with enclojure or eclipse with clojuredev or Intellij IDEA with the clojure plugin. Bein

Re: newbie question on compilation

2009-02-10 Thread Tzach
Thanks for the response Yes, I'm using Emacs SLIM. what should be the relation between the file (hello.clj) path to the classpath? Is the compile work on the file name, or on the function? in other word, should I evaluate the function on the REPL before compile? Thanks Tzach On Feb 10, 5:25 pm

Re: newbie question on compilation

2009-02-10 Thread Laurent PETIT
Hello, Can you be more specific about : what is in what file in your example, and what is the structure of the directories you use for the test ? Normally, this should be : (say src is the root source directory set in your classpath) :

Re: newbie question on compilation

2009-02-10 Thread Lennart Staflin
On Feb 10, 2:45 pm, Tzach wrote: > I got "error in process filter: Wrong number of arguments: nil, 3". > What am I missing here? Are you using Emacs with slime? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

newbie question on compilation

2009-02-10 Thread Tzach
I try to use the following example (ns clojure.examples.hello (:gen-class)) (defn -main [greetee] (println (str "Hello " greetee "!"))) (compile 'clojure.examples.hello) I got "error in process filter: Wrong number of arguments: nil, 3". What am I missing here? Thanks --~--~-~