On Feb 25, 2009, at 6:50 PM, Telman Yusupov wrote:

+1 on setting a sane CLASSPATH and not depending on other environment
variables.

Then there is no need to specify a custom -cp for every Clojure/Java
program/script either...

The problem I see with using CLASSPATH this way is that it (potentially) affects the classpath for every JVM instance you launch, not just the ones associated with Clojure. It seems to me that it's desirable for there be a more focused way to express/maintain the concept of "When I deal with a Clojure REPL, these are the jars I want to be available to it."'

My most recent effort along those lines is at clojure-contrib/ launchers/bash/clj-env-dir.

--Steve

P.S. My very simple CLASSPATH setup detailed here:
http://yusupov.com/blog/2009/basic-clojure-setup-part-1/

Cool! Thanks for writing that up.

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to