Permalink
Browse files

Add instructions for building with local Clojure

  • Loading branch information...
1 parent c45e453 commit 18584a46cdcb0651d6f025680c25ab8c18d0e639 @stuartsierra stuartsierra committed Jan 26, 2010
Showing with 20 additions and 3 deletions.
  1. +20 −3 README.txt
View
23 README.txt
@@ -58,11 +58,28 @@ Additional build commands are available:
To skip the testing phase when building, add "-Dmaven.test.skip=true"
to the mvn command line.
-To specify a different version of Clojure (the language) when
-building, add "-Dclojure.version=NUMBER" to the mvn command line,
-where NUMBER is a the version string of a Clojure release or
+
+
+== Choosing a Clojure Version ==
+
+If you want to compile/build against a specific version of Clojure
+(the language), add "-Dclojure.version=NUMBER" to the mvn command
+line, where NUMBER is the version string of a Clojure release or
development snapshot.
+Or, to compile against a locally-modified version of Clojure, do the
+following:
+
+ 1. Download the maven-ant-tasks JAR from
+ http://maven.apache.org/ant-tasks/
+
+ 2. In the Clojure project directory, run the following:
+
+ ant clean
+ ant -lib /path/to/maven-ant-tasks.jar ci-build
+
+ 3. In the clojure-contrib directory, run "mvn package"
+
= Clojure-contrib Versions =

0 comments on commit 18584a4

Please sign in to comment.