I'm having some trouble getting clojure to generate .class files.  I
have a directory layout like this:

test/
    main.clj

where main.clj is the same file as from
http://clojure.org/compilation, but with the 'clojure.examples.hello
replaced with 'test.main .  I've tried running clojure a few different
ways:

from the parent dir of the test dir, as java -cp
~/src/clojure/clojure.jar:`pwd`/ clojure.main
from within the test dir, as java -cp ~/src/clojure/clojure.jar:`pwd`/..

In both cases, I can successfully (use 'test.main) and call (-main
"foo"), and it works, but when I try to call (compile 'test.main) I
get java.io.IOException: No such file or directory (main.clj:1).  What
do I need to do to get compilation to work?

--~--~---------~--~----~------------~-------~--~----~
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