Jump to content

Compojure/Dependencies

From Wikibooks, open books for an open world

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