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. Being one of the
commiters of clojuredev, I can recommend it to you, but I think the offer is
now really interesting so that you can just stay with the development
environment you love and install the corresponding clojure plugin.

Cheers,

-- 
Laurent

2009/2/10 Tzach <tzach.livya...@gmail.com>

>
> 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, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> > 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) :
> >
> > ---------------------------------------------------------------
> > file : src/clojure/examples/hello.clj
> > ---------------------------------------------------------------
> > (ns clojure.examples.hello
> >    (:gen-class))
> >
> > (defn -main
> >  [greetee]
> >  (println (str "Hello " greetee "!")))
> > ---------------------------------------------------------------
> >
> > And from the REPL : (compile 'clojure.examples.hello)
> >
> > I tried it, it works correctly (the compilation works correctly)
> >
> > Regards,
> >
> > --
> > Laurent
> >
> > 2009/2/10 Tzach <tzach.livya...@gmail.com>
> >
> >
> >
> > > 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
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to