Skip to content
fogus edited this page Aug 28, 2012 · 3 revisions

Building core.cache

  1. Clone the core.cache git repository or download its source archive

  2. Run mvn package to generate a Jar file

  3. Run mvn install to install the Jar into your local Maven repository

To test that the build succeeded try:

mvn clojure:repl

This will launch a Clojure REPL. Try the following to exercise core.cache:

(use 'clojure.core.cache)
(defc (fifo-cache-factory1 {:a42}))
(-> c (assoc:b1) (assoc:z108))

You should see the result {:z 108}.

Clone this wiki locally