Re: Newbie Classpath issues on OSX

2020-10-10 Thread Jeremy Heiler
Can you share your project.clj and your project's directory structure? On Oct 3, 2020 at 6:17:36 PM, ok_computer wrote: > After reinstalling Leiningen via brew, I started getting classpath > errors. I uninstalled all my Clojure libs, deleted the ~/.lein folder and > started fresh with a new in

Newbie Classpath issues on OSX

2020-10-03 Thread ok_computer
After reinstalling Leiningen via brew, I started getting classpath errors. I uninstalled all my Clojure libs, deleted the ~/.lein folder and started fresh with a new install using 'brew install Leiningen' which gave me a new Clojure and Leiningen. It worked fine at first, until I tried creatin

Re: classpath issues

2012-03-06 Thread Sean Corfield
On Tue, Mar 6, 2012 at 7:36 AM, Bob wrote: > I am new to clojure.  I am just trying to install and use feedparser- > clj.  I ran "lein install" and it said it completed ok. You generally use Clojure libraries by specifying the dependency in your project.clj file for Leiningen to manage. You don't

Re: classpath issues

2012-03-06 Thread Sanel Zukan
If you are going to play with feedparser-clj from repl, maybe the best way would be to run 'lein repl' inside feedparser-clj folder you just downloaded. In this case, lein would automatically setup classpath for you. However, if you are planning to use it inside your project, create it with 'le

classpath issues

2012-03-06 Thread Bob
I am new to clojure. I am just trying to install and use feedparser- clj. I ran "lein install" and it said it completed ok. >git clone git://github.com/scsibug/feedparser-clj.git >cd feedparser-clj/ >lein install ... Compiling feedparser-clj.core Compilation succeeded. Created /Users/bstewart/fe

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 t

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 wrote: > Hi, > > I'm not sure how to integrate this into the Tomcat JSP scenario, but I > think the issu

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 clojure.main/

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" wrote: > The current version of Clojure is 1185.  Clojure was recently moved to > Google Code: > > http://groups.google.com/group/clojure/browse_thread/t

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 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=gst&q=jsp#dd1c84dcf658436e > > The JSP "work

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=gst&q=jsp#dd1c84dcf658436e The JSP "works" in that there is an instance of swank running in Tomcat's JVM,