From db9bedf5520d33c37a99b86c68e4176d537cd0ce Mon Sep 17 00:00:00 2001 From: Stuart Sierra Date: Thu, 28 Jan 2010 11:41:03 -0500 Subject: [PATCH] Describe "local" build in POM --- README.txt | 24 ++++++------------------ 1 file 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.