On Feb 25, 2009, at 1:27 PM, Mark Colburn wrote:
#!/bin/sh DP="${0%/*}" java -cp ~/src/clojure/clojure.jar:${DP}/clj:${DP}/java - Dnet.sourceforge.waterfront.plugins=${DP}/clj/net/sourceforge/ waterfront/ide/plugins clojure.main ${DP}/clj/net/sourceforge/ waterfront/ide/main.clj $*
I propose that we Clojure-using folks adopt CLOJURE_HOME as our "standard" environment variable that can be used to find clojure.jar and other interesting bits of Clojure. The proposed value of CLOJURE_HOME is an absolute path to the top level of an svn checkout or binary distribution of Clojure.
Scripts would use $CLOJURE_HOME/clojure.jar (or its equivalent on Windows) as the path to the current environment's preferred clojure.jar.
The script above would become:
#!/bin/sh DP="${0%/*}" java -cp $CLOJURE_HOME/clojure.jar:${DP}/clj:${DP}/java - Dnet.sourceforge.waterfront.plugins=${DP}/clj/net/sourceforge/ waterfront/ide/plugins clojure.main ${DP}/clj/net/sourceforge/ waterfront/ide/main.clj $*
--Steve
smime.p7s
Description: S/MIME cryptographic signature