;;; load_all.clj - loads all contrib libraries for testing purposes ;; by Stuart Sierra, http://stuartsierra.com/ ;; February 21, 2009 ;; Copyright (c) Stuart Sierra, 2009. All rights reserved. The use ;; and distribution terms for this software are covered by the Eclipse ;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this ;; distribution. By using this software in any fashion, you are ;; agreeing to be bound by the terms of this license. You must not ;; remove this notice, or any other, from this software. ;; This file simple attempts to "require" every library in ;; clojure-contrib. The names of all contrib libs (minus the ;; "clojure.contrib" part) are in *all-contrib-libs*. Libraries which ;; throw errors when loading under the latest trunk SVN revisions of ;; Clojure and clojure-contrib are commented out. ;; ;; This is only intended to check that the libraries will load without ;; errors, not that they work correctly. If the libraries have tests ;; defined using test-is, you can run them with: ;; ;; (clojure.contrib.test-is/run-all-tests) ;; ;; If you write a new lib, please add it to the list in this file. (ns clojure.contrib.load-all) (def *all-contrib-libs* '[ accumulators apply-macro auto-agent ;; combinatorics command-line cond condt def duck-streams error-kit except fcase import-static javadoc.browse javadoc javalog json.read json.write lazy-seqs lazy-xml macros math ;; miglayout mmap monads ns-utils probabilities.dist prxml repl-ln repl-utils seq-utils server-socket set shell-out sql stacktrace str-utils ;; stream-utils template test-is test-is.tests test-clojure.agents test-clojure.data-structures test-clojure.evaluation test-clojure.for test-clojure.logic test-clojure.main test-clojure.numbers test-clojure.predicates test-clojure.printer test-clojure.reader test-clojure.sequences test-contrib.shell-out test-contrib.str-utils trace walk zip-filter ]) (doseq [name *all-contrib-libs*] (require (symbol (str "clojure.contrib." name))))