From a22ffcd8f3dc71e90f38a5addfb84c2200f3d5d0 Mon Sep 17 00:00:00 2001 From: Andrzej Jozwik Date: Tue, 30 Sep 2014 21:29:39 +0200 Subject: [PATCH] Update to current 0.13.7-SNAPSHOT $HOME/.ivy2/local/org.scala-sbt/sbt-launch/ instead of temporary target folder --- CONTRIBUTING.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c9fa68c64..7ee1991ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -114,9 +114,9 @@ Build from source $ git clone git://github.com/sbt/sbt.git $ cd sbt -3. The initial branch is the development branch [0.13](https://github.com/sbt/sbt/tree/0.13), which contains the latest code for the next major sbt release. To build a specific release or commit, switch to the associated tag. The tag for the latest stable release is [v0.13.5](https://github.com/sbt/sbt/tree/v0.13.5): +3. The initial branch is the development branch [0.13](https://github.com/sbt/sbt/tree/0.13), which contains the latest code for the next major sbt release. To build a specific release or commit, switch to the associated tag. The tag for the latest stable release is [v0.13.6](https://github.com/sbt/sbt/tree/v0.13.6): - $ git checkout v0.13.5 + $ git checkout v0.13.6 Note that sbt is always built with the previous stable release. For example, the [0.13](https://github.com/sbt/sbt/tree/0.13) branch is built with 0.13.2 and the [v0.13.2](https://github.com/sbt/sbt/tree/v0.13.2) tag is built with 0.13.1. @@ -125,13 +125,25 @@ Build from source $ sbt > publishLocal -5. To use this locally built version of sbt, copy your stable `~/bin/sbt` script to `~/bin/xsbt` and change it to use the launcher jar in `/target/`. For the v0.13.5 tag, the full location is: +5. To use this locally built version of sbt, copy your stable `~/bin/sbt` script to `~/bin/xsbt` and change it to use the launcher jar in `/target/`. For the v0.13.6 tag, the full location is: - /target/sbt-launch-0.13.5.jar + /target/sbt-launch-0.13.6.jar If using the 0.13 development branch, the launcher is at: - /target/sbt-launch-0.13.6-SNAPSHOT.jar + /target/sbt-launch-0.13.7-SNAPSHOT.jar + + Directory `target` is removed by clean command. Second solution is using artifact stored in local ivy repository. + + The launcher is located in: + + $HOME/.ivy2/local/org.scala-sbt/sbt-launch/0.13.6/jars/sbt-launch.jar + + for v0.13.6 tag, or in: + + $HOME/.ivy2/local/org.scala-sbt/sbt-launch/0.13.7-SNAPSHOT/jars/sbt-launch.jar + + for development branch. ## Modifying sbt @@ -141,7 +153,7 @@ Build from source 3. After each `publishLocal`, clean the `~/.sbt/boot/` directory. Alternatively, if sbt is running and the launcher hasn't changed, run `reboot full` to have sbt do this for you. -4. If a project has `project/build.properties` defined, either delete the file or change `sbt.version` to `0.13.6-SNAPSHOT`. +4. If a project has `project/build.properties` defined, either delete the file or change `sbt.version` to `0.13.7-SNAPSHOT`. Building Documentation ----------------------