Hi Shikhar -

I strongly recommend checking out the labrepl example created by stu
halloway.  It is a great starting point for eclipse/counterclockwise
and helped me quite a bit as a framework for starting new projects.

http://github.com/relevance/labrepl

cheers.

On May 24, 10:08 am, Shikhar <shikh...@gmail.com> wrote:
> Hi,
>  I've just installed the Counterclockwise plugin and written a hello
> world program in a file named "hello.clj"
> <Code>
> -------------------------------------------------------------------
> (ns hello)
> (defn "a method" method [args] (println "Hello" args))
> --------------------------------------------------------------------
> </Code>
>
> When I run the above file as Clojure REPL via eclipse
>
> <Console>
> ----------------------------------------------------------------
> Clojure 1.1.0
> 1:1 user=> #<Namespace hello>
> 1:2 hello=> (method "World")
> java.lang.Exception: Unable to resolve symbol: method in this context
> (repl-1:2)
> 1:3 hello=>
> -----------------------------------------------------------------
> </Console>
>
> Any thoughts on what I could be doing wrong? Thanks.
>
> Shikhar
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.To post to this group, send email 
> tocloj...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email 
> toclojure+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/clojure?hl=en

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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