From 5bae3168fc29537f71d8bb384696e270f7479788 Mon Sep 17 00:00:00 2001 From: Stuart Sierra Date: Fri, 24 Sep 2010 11:43:07 -0400 Subject: Update README with instructions for building against custom Clojure --- README.txt | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 3353397f..b1affe8a 100644 --- a/README.txt +++ b/README.txt @@ -48,7 +48,7 @@ This will compile and test all modules and store them in your local Maven repository cache (usually $HOME/.m2/repository). There is also an "uberjar" containing all compiled modules at -./modules/complete/target/complete-$VERSION-jar-with-dependencies.jar +./modules/complete/target/complete-$VERSION-bin.jar Additional build commands are available: @@ -69,6 +69,30 @@ to the mvn command line. += Building Against Specific Released Clojure Versions = + +You can specify -Dclojure.version=VERSION on the command line to select a different Clojure version. + + + += Building Against a Custom Clojure JAR = + +To build against a customized Clojure JAR, build *Clojure* like this: + +1. Modify the Clojure sources with your custom changes + +2. Set a custom version number in src/clj/clojure/version.properties + +3. Download maven-ant-tasks.jar from http://maven.apache.org/ant-tasks/download.html + +4. In the Clojure source directory, run: + + ant -lib /path/to/maven-ant-tasks.jar ci-build + +THEN, build clojure-contrib with -Dclojure.version=YOUR_CUSTOM_VERSION + + + = Clojure-contrib Versions = Versions of clojure-contrib are matched to versions of Clojure. @@ -79,6 +103,8 @@ If you are using Clojure 1.1, use clojure-contrib 1.1.* If you are using Clojure 1.2, use clojure-contrib 1.2.* +If you are using Clojure 1.3, use clojure-contrib 1.3.* + If you are using Clojure from the "master" branch on Github, use clojure-contrib from the "master" branch on Github. -- cgit v1.2.3-18-g5258