I'm trying to compile a simple Clojure program, in order to get some
Java class
file. Here's my session (I'm in /home/tpj/test):

$ ls -R
.:
classes  src

./classes:

./src:
clojure

./src/clojure:
examples

./src/clojure/examples:
hello.clj

$ runclojure -cp `pwd`/classes:`pwd`/src
Clojure 1.0.0-
user=> (System/getProperty "java.class.path")
"jline-0.9.94.jar:clojure-1.0.0.jar:/home/tpj/test/classes:/home/tpj/
test/src"
user=> (compile 'clojure.examples.hello)
java.io.IOException: No such file or directory (hello.clj:1)

$ cat src/clojure/examples/hello.clj
(ns clojure.example.hello
    (:gen-class))

(defn -main [arg]
  (println (str "Hello, " arg "!")))

What am I doing wrong? (I use Clojure 1-0-0, downloaded in the binary
form
from the main Clojure site., and Java 1.6.0_14.)
--~--~---------~--~----~------------~-------~--~----~
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