My clj file looks like this:

#!/bin/sh

export CLASSPATH=$CLOJUREPATH:./lib/*:.:$CLASSPATH

if [ -z "$1" ]; then
    exec java -server jline.ConsoleRunner clojure.main
else
    SCRIPT=$(dirname $1)
    export CLASSPATH=$SCRIPT/*:$SCRIPT:$CLASSPATH
    exec java -server clojure.main "$1" "$@"
fi

Having clj look in the current directory for jars/classes/.clj files
the same way Python and Ruby do makes dealing with libraries easier.

So, +1.

-- 
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