I'm really sorry to have to bring up this kind of newb question, but I
just can't seem to get clojure compilation to work.

The clojure file involved couldn't be simpler:

(ns sov.sim.character (:gen-class))

(defn -main [greetee] (println (str "Hello world !")))


...and that's it.  It's in the sov/sim/ directory.  In the root
directory, I run:
java -cp clojure.jar clojure.main

Followed by:
(compile 'sov.sim.character)

And get:

java.io.IOException: No such file or directory (character.clj:5)

(-line 5 is where the ns declaration is made.)  What am I doing wrong
here?
--~--~---------~--~----~------------~-------~--~----~
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