Purge removed libraries from load_all.clj
(load "clojure/contrib/load_all") has not worked since the penultimate commit to clojure-contrib, as libraries are being moved to core. all-contrib-libs needs to be adjusted to match the new set of libraries.
Leave a comment
file:c6XnLWzMGr3QkbeJe5aVNr: git-generated diff to load_all.clj
on 2009-07-01 13:01 *
By Steve Gilardi
If it's feasible, it would be good to add load-all to the tests that are run by "ant test" so it gets run frequently. (I run ant test every time I build clojure and contrib.)
on 2009-07-10 12:44 *
By Steve Gilardi
In case somebody likes this idea gets to this before I do: I think it would be cool for load-all to figure out what all the clojure-contrib libraries are on its own: perhaps by searching in the resources in the clojure-contrib Jar file for ns declarations that are exactly "clojure.contrib.[^.]+$" (only one component after clojure.contrib).
We could then maintain a list in the load-all vicinity of only those libraries that should not be loaded by load-all. That seems much easier to maintain as we'll automatically be prompted (by a failure to load) if we forget an exclusion.
We could then maintain a list in the load-all vicinity of only those libraries that should not be loaded by load-all. That seems much easier to maintain as we'll automatically be prompted (by a failure to load) if we forget an exclusion.
on 2010-04-13 07:21 *
By stuart.halloway
Assigned to set to stuart.halloway
Milestone changed from Backlog to Release 1.2
Here's the approach I took:
- moved the file from main to test
- used find-namespace to find all the namespaces
- removed the deprecated ones
- manufactured one unit test per namespace that tries to load the namespace