This allows the usage of freedesktop.org's xdg-open which is present on basically any Linux and BSD system nowadays. Another slight improvement is that on Mac OS X, /usr/bin/open is tried first, so no icon pops up in the dock due to the JVM switching to becoming a GUI app (unless it was a GUI app before browse-url was called). This patch has been tested on the following OSes, all with 1.6.0_<something> JVMs: Mac OS X 10.6.8 Windows XP SP3, both from CMD.EXE and in a Cygwin bash shell Ubuntu Linux 10.04 LTS The test consisted of the following commands typed into a REPL, run inside the Clojure root directory where readme.txt and epl-v10.html files are: (use 'clojure.java.browse) (browse-url "http://www.yahoo.com") (browse-url "readme.txt") (browse-url "epl-v10.html") Signed-off-by: Stuart Halloway <firstname.lastname@example.org>
…ia ^:dynamic metadata support in def, or setDynamic builder method in Var. Also auto-enable :dynamic for *var*s as a bridge - prints warning, and will be removed before release.