Re: Getting started embedding Clojure into an existing codebase

2010-04-02 Thread Josh Daghlian
On Apr 2, 9:24 am, Chas Emerick wrote: > But: invoking clojure.main.main programmatically?  Ouch. :-) > > - Chas Yeah, I know it's shady, and I know that with more time and effort I can avoid doing it, but should I bother? It's given me a command shell with access to my JPA layer that's been wor

Re: Getting started embedding Clojure into an existing codebase

2010-04-02 Thread Chas Emerick
Assuming your environment is set up properly w.r.t. classpaths, spring should work just fine in a REPL. We use spring security for our compojure webapp, and the spring context starts up as expected in our enclojure REPLs. FWIW, we do use maven and the clojure-maven-plugin, which informs N