On Sun, 31 Oct 2010 00:09:31 -0700 (PDT)
Steven Arnold <thoth.amon.i...@gmail.com> wrote:

> That was it.  I had to add the entire path up to and including to
> contrib jar in order for "clj" to work.  Merely adding the directory
> to the classpath was not sufficient, and the clj script ignored the
> value of my env variable $CLASSPATH, so I had to edit the clj script
> itself to get this working.

Hi Steve,

You ought to be able to add "path/to/directory/\*" to your CLASSPATH
to pick up all the jars in the directory. The "*" needs to be quoted
to show up in the variable, and not expanded by the shell.  This works
on Unix and Windows, so it ought to work on OSX.

If you're interested in how to work with clojure with minimal Java
infrastructure, I posted my writeup at
http://www.mired.org/home/mwm/papers/simple-clojure.html

        <mike

-- 
Mike Meyer <m...@mired.org>             http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to