aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2010-01-28 11:41:03 -0500
committerStuart Sierra <mail@stuartsierra.com>2010-01-28 11:41:03 -0500
commitdb9bedf5520d33c37a99b86c68e4176d537cd0ce (patch)
treedcf750ada78a4112431e7b2dfa55374708d61ff1
parent86803a4df8c2edc94a882c07e8d3668b7c4b1ed6 (diff)
Describe "local" build in POM
-rw-r--r--README.txt24
1 files changed, 6 insertions, 18 deletions
diff --git a/README.txt b/README.txt
index 21adf844..873ddc87 100644
--- a/README.txt
+++ b/README.txt
@@ -60,27 +60,15 @@ to the mvn command line.
-== Choosing a Clojure Version ==
+== Compiling with Local clojure.jar ==
-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.
+If you want to compile/build with a customized clojure.jar file, use
+the following command:
-Or, to compile against a locally-modified version of Clojure, do the
-following:
+ mvn -Denv=local -Dclojure.jar=/path/to/clojure.jar package
- 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 the following:
-
- mvn package --offline
+The /path/to/clojure.jar MUST be an absolute path. It defaults to
+${current-dir}/../clojure/clojure.jar if you do not specify it.