Clojure can't find and compile my scripts unless I augment the compile
path.

Specs:

Clojure 1.2.0
MacPorts 1.9.2
Mac OS X 10.6.6

$ cat hello.clj
#!/usr/bin/env clj

(ns hello)
(println "Hello World!")
$ clj hello.clj
Hello World!
$ clj
Clojure 1.2.0
user=> (compile 'hello)
Hello World!
java.io.IOException: No such file or directory (NO_SOURCE_FILE:0)
user=> *compile-path*
"classes"
user=> (set! *compile-path* (str *compile-path* ":."))
"classes:."
user=> (compile 'hello)
Hello World!
hello

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