Compojure/Dependencies
From Wikibooks, open books for an open world
|
|
This page is out of date and needs to be updated A Wikibookian thinks that this page is no longer accurate, and the material in it needs to be updated by an editor or author. Once this page has been brought up to date, you can remove this tag |
All of the following dependencies are stored in the 'deps' subdirectory for convenience.
Clojure and Clojure-Contrib are required libraries for Compojure:
# clojure.jar svn co https://clojure.svn.sourceforge.net/svnroot/clojure clojure
# clojure-contrib.jar svn co https://clojure-contrib.svn.sourceforge.net/svnroot/clojure-contrib clojure-contrib
Jetty is used as the default web server for Compojure, but because Compojure uses standard Java servlets, you could potentially use any web server with servlet support.
# jetty-6.1.14.jar # jetty-util-6.1.14.jar # servlet-api-2.5-6.1.14.jar http://dist.codehaus.org/jetty/jetty-6.1.14/jetty-6.1.14.zip
For unit testing, Compojure uses Fact:
# fact.clj git clone git://github.com/weavejester/fact.git