On Oct 15, 6:47 am, "Fredrik Appelberg" <[EMAIL PROTECTED]>
wrote:
> On Tue, Oct 14, 2008 at 9:49 PM, Matthew D. Swank <
>
>
>
> [EMAIL PROTECTED]> wrote:
>
> > swank-clojure seems to work fine; it just seems that java is ignoring
> > 'swank-clojure-extra-classpaths.
>
> > in slime:
>
> > user> (require 'clojure.contrib.zip-filter)
> > java.io.FileNotFoundException: Could not locate Clojure resource on
> > classpath: clojure/contrib/zip_filter/zip_filter.clj (NO_SOURCE_FILE:
> > 0)
>
> > at a shell:
>
> > java -cp /sw/local/src/clojure/target/clojure-lang-1.0-SNAPSHOT.jar:/
> > Users/<user>/.clojure/clojure-contrib.jar clojure.lang.Repl
> > Clojure
> > user=> (require 'clojure.contrib.zip-filter)
> > nil
> > user=>
>
> > Anyone using clojure on a mac?
>
> Yeah, I had som problems with this as well. As far as I can tell, my problem
> was that swank-clojure-extra-classpaths defaulted to '~/.clojure/*', but the
> ability to specify wildcards in the classpath was added in Java 6. As I was
> running Java 5, that had no effect.
>
> I worked around it by hacking swank-clojure.el and adding a call to
> file-expand-wildcards in swank-clojure-cmd to let emacs expand the classpath
> before it was passed to the JVM. I can send you a patch if you like.

Yes, that seems to be the problem. Could you post the patch to the
news group?  That is unless Jeffery is considering folding it into
swank-clojure anyway.

Thanks,

Matt
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to