From Wikibooks, open books for an open world
Jump to navigation Jump to search

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 clojure
# clojure-contrib.jar
svn co 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

For unit testing, Compojure uses Fact:

# fact.clj
git clone git://