It seems like a lot of n00b (and non-n00b) related problems have to do with the 
location of clojure.jar and clojure-contrib.jar. People generally don't like 
having to keep track of all the clojure.jars, and it would be nice if it was 
easy to switch versions for scripts like clj and such.

May I propose as a possible remedy CLOJURE_HOME. CLOJURE_HOME is the absolute 
path of a directory containing clojure.jar and possibly clojure-contrib.jar. 
Scripts should check if it's defined and use it instead of hard-coded paths, as 
an example, here's my clj script (in newLISP):

http://www.taoeffect.com/other/clj.lsp.html

It's really simple, at least in newLISP, to do this:

        (constant 'CLOJURE_HOME (or (env "CLOJURE_HOME") (string (env "HOME") 
"/.clojure"))

Input welcome!

- Greg

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