2009/2/26 Stephen C. Gilardi <squee...@mac.com>

>
> 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."'
>

Just to make clear that I don't always disagree with you :-), I would say +1
on that.

Setting a global CLASSPATH, while useful, can lead to awkward bugs sometimes
...


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

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