On Apr 14, 8:19 am, Rich Hickey <richhic...@gmail.com> wrote: > I've been thinking recently about contribs with dependencies. ... > I'd like to start a discussion about how best to support the > contributions of libraries that depend on things not in the JDK.
I'm ok with contribs depending on non-JDK libs, as long as they're clearly labeled. How about a flag on the ns declaration? If the ns can't find a Java class that it needs to import, it displays an error with the name of the library and where to download it. Something vaguely like: (ns clojure.contrib.foo (:import (org.foo.lib FooFactory) (:needs (org.foo.lib :name "FooLib", :url "http://foo.com/ lib", :version "1.2"))) I'm NOT proposing a dependency management system to download and install the JAR files. That way lies madness. -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---