Created
July 2, 2009 15:19
-
-
Save jackdempsey/139520 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inside .bash_login | |
for i in `ls /opt/jars/*.jar` | |
do | |
CLASSPATH=${CLASSPATH}:${i} | |
done | |
# you can see this works by inspecting your environment | |
jack@localhost ~/git/clojure-contrib (no branch) $ printenv | grep -i classpath | |
CLASSPATH=/Users/jack/Library/Java:/Users/jack/src/vimclojure-2.1.1/src/com/martiansoftware/nailgun:/opt/jars/clojure-contrib.jar:/opt/jars/clojure-sources.jar:/opt/jars/clojure.jar:/opt/jars/commons-codec-1.3.jar:/opt/jars/commons-fileupload-1.2.1.jar:/opt/jars/commons-io-1.4.jar:/opt/jars/compojure.jar:/opt/jars/grizzly-http-servlet-1.9.10.jar:/opt/jars/grizzly-http-webserver-1.9.10.jar:/opt/jars/jetty-6.1.15.jar:/opt/jars/jetty-util-6.1.15.jar:/opt/jars/servlet-api-2.5-20081211.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment