On Wed, Feb 25, 2009 at 2:47 PM, Stephen C. Gilardi <squee...@mac.com> wrote: > > 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 $*
I already use that so it would be fine with me! -- R. Mark Volkmann Object Computing, Inc. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---