Re: Isolated Clojure Environments

2012-08-31 Thread Dave Ray
Thanks Kevin and Laurent for the suggestions! It's too bad these aren't higher in google results for "clojure classloader". My current approach is essentially the same as Classlojure so at least I wasn't totally in the weeds. Cheers, Dave On Thu, Aug 30, 2012 at 11:35 PM, Laurent PETIT wrote: >

Re: Isolated Clojure Environments

2012-08-30 Thread Laurent PETIT
Hi, Currently, counterclockwise is using classlojure to maintain separate Leiningen environments for separate open projects. HTH, Laurent Sent from a smartphone, please excuse the brevity/typos. Le 31 août 2012 à 03:38, Dave Ray a écrit : > Hi, > > I'm looking for the best way to execute som

Re: Isolated Clojure Environments

2012-08-30 Thread Kevin Downey
https://github.com/hiredman/polycosm On Aug 30, 2012 6:38 PM, "Dave Ray" wrote: > Hi, > > I'm looking for the best way to execute some Clojure code in a more or > less completely isolated environment. That is, say we load one piece > of code: > > A: > --- > (ns my-ns) > > (def foo [] (println "hi

Re: Isolated Clojure Environments

2012-08-30 Thread Baishampayan Ghose
Does clojail [https://github.com/flatland/clojail] help in any way? Regards, BG On Fri, Aug 31, 2012 at 7:08 AM, Dave Ray wrote: > Hi, > > I'm looking for the best way to execute some Clojure code in a more or > less completely isolated environment. That is, say we load one piece > of code: > >

Isolated Clojure Environments

2012-08-30 Thread Dave Ray
Hi, I'm looking for the best way to execute some Clojure code in a more or less completely isolated environment. That is, say we load one piece of code: A: --- (ns my-ns) (def foo [] (println "hi")) (foo) --- if a second piece of code was loaded: B: --- (ns my-ns) (foo) ; <-- This should fai