Re: Importing lots of Java classes at once

2009-02-24 Thread Brian Doyle
I wrote something similar to what you are asking about. My code does not import java class files but calls 'use' on clojure files that live in the clojure-contrib.jar file. I load this when I start the REPL only. (defn name-to-symbol [lib-name] "Converts the lib-name to a symbol" (-> lib

Re: Importing lots of Java classes at once

2009-02-20 Thread Jason Wolfe
I have a horrible hack to do this, which uses even more appalling code than [2] ripped off from a different forum, but which (in my limited experience) seems to work OK. I'll email it to you privately, and to anyone else who wants to use it (just ask). -Jason On Feb 20, 9:33 pm, Brian Carper w

Importing lots of Java classes at once

2009-02-20 Thread Brian Carper
One could argue that wildcard imports in Java (import package.*) are evil, pollute your namespaces, create potential naming conflicts, etc. One would probably be correct. One could also argue that having to manually type a list of dozens of classnames is pretty tedious, especially if all you wan