On Dec 30, 2008, at 9:53 AM, Randall R Schulz wrote:
Anyway, I guess it needs to be pointed that the invocation you suppliedwon't work unless the Clojure Contrib JAR file is built with pre- compiled Java classes and that this only happens if you supply the clojure.jar property ("-Dclojure.jar=path/to/clojure.jar") to your Ant invocation when you build Clojure Contrib. Once I figured that out, the problem went away. Is this documented anywhere?
I'm not aware of it being documented anywhere.I've added clojure.contrib.repl-ln/stream-repl to support something like your original invocation:
% java -cp clojure.jar:clojure-contrib.jar clojure.main -e "(use 'clojure.contrib.repl-ln) (stream-repl)"
This works whether or not clojure-contrib.jar contains compiled code. --Steve
smime.p7s
Description: S/MIME cryptographic signature