sbt.boot.properties exists in 0.10 (up to and including 0.13.1 , which is the latest version of sbt at the moment) and is essentially the same as before .
The main addition is that default sbt.boot.properties is configured so that it is possible to define several properties by the properties of the system. This may eliminate the need to use custom sbt.boot.properties in some common cases.
The two main properties that are configured this way are determined by the following sections of the file by default:
[boot] directory: ${sbt.boot.directory-project/boot/} [ivy] ivy-home: ${sbt.ivy.home-${user.home}/.ivy2/}
The syntax for bash -like variables is ${system.property.name-default} . This means that you can install the boot directory with something like:
$ sbt -Dsbt.boot.directory=/home/user/.sbt/boot/
If not specified, it will default to project/boot/ , as usual. Similarly, you can set the Ivy home directory:
$ sbt -Dsbt.ivy.home=/home/user/.sbt/.ivy2/
If not specified, the default is to use the regular .ivy2 subdirectory in the directory specified by the user.home system property.
Mark harrah
source share