Re: Swank in Tomcat via JSP: classpath issues

2008-12-29 Thread Michael Reid
Hi, I'm not sure how to integrate this into the Tomcat JSP scenario, but I think the issue is that *use-context-classloader* is not set to true (it defaults to nil). Again, I'm not positive how to get your JSP to do this, but an untested stab at it would be just to wrap the call to

Re: Swank in Tomcat via JSP: classpath issues

2008-12-29 Thread Michael Reid
Doh! I just read your discussion w/ Anton on his blog. Seems you've already looked at the context classloader. *shrug*. I'm stumped. /mike. On Mon, Dec 29, 2008 at 12:46 PM, Michael Reid kid.me...@gmail.com wrote: Hi, I'm not sure how to integrate this into the Tomcat JSP scenario, but I

Re: Swank in Tomcat via JSP: classpath issues

2008-12-29 Thread Greg Harman
Thanks, Mike - although we had already looked at the context classloader, your explanation did provide some inspiration for a workaround. The correct classloader should be available in the JSP and so it should be possible to grab it there and pass it into Clojure as a variable (or a binding?) in

Swank in Tomcat via JSP: classpath issues

2008-12-28 Thread Greg Harman
I tried creating a JSP to let Slime connect to a REPL running in Tomcat, as was posted here: http://groups.google.com/group/clojure/browse_thread/thread/d73efa2943179a36/dd1c84dcf658436e?lnk=gstq=jsp#dd1c84dcf658436e The JSP works in that there is an instance of swank running in Tomcat's JVM,

Re: Swank in Tomcat via JSP: classpath issues

2008-12-28 Thread Michael Wood
On Sun, Dec 28, 2008 at 8:11 AM, Greg Harman ghar...@gmail.com wrote: I tried creating a JSP to let Slime connect to a REPL running in Tomcat, as was posted here: http://groups.google.com/group/clojure/browse_thread/thread/d73efa2943179a36/dd1c84dcf658436e?lnk=gstq=jsp#dd1c84dcf658436e The

Re: Swank in Tomcat via JSP: classpath issues

2008-12-28 Thread Greg Harman
Thanks for that - I'm all up to date now. The bad news is that it didn't seem to affect my problem at all. On Dec 28, 6:58 pm, Michael Wood esiot...@gmail.com wrote: The current version of Clojure is 1185.  Clojure was recently moved to Google Code: