|
Build
sbt has movedsbt has now completely moved to GitHub. See https://github.com/harrah/xsbt/. Building sbtBackgroundsbt now uses git for version control. You can find the source on github. As of 0.7.2, sbt is at http://github.com/harrah/xsbt. The 'master' branch is for 0.7.x stable releases, while the 0.9 branch is for the 0.9.x development series. Test support was separated out to work across a uniform test interface. Because of this, sbt no longer needs to be compiled against test frameworks. New test frameworks that implement the uniform test interface can be used by sbt without needing to recompile sbt, as was the case previously. In order to provide compatibility with sbt 0.5.6, there is an implementation of the test interface for Scala test frameworks released before the interface existed. InstructionsThe latest sbt release (0.7.7) is used to build. From scratch, building sbt locally looks like: $ git clone git://github.com/harrah/xsbt.git $ cd xsbt $ sbt update proguard "project Simple Build Tool" publish-local The launcher jar created by the proguard action is located at xsbt/target/sbt-launch-0.7.x.jar. UsageSet the sbt.version in the project you want to use this in to be 0.7.8-SNAPSHOT. If you rebuild sbt, you'll need to remove project/boot for that project because sbt does not recheck a version once it is retrieved to a project. | |
Does this mean you have to bootstrap with an earlier version? The third line seems to invoke sbt before it is built.
Yes, sbt has been used to build itself since 0.2.
The current stable release is generally required to build from source. Currently, you need 0.7.0.
-Mark
Hi, I'm totally confused here. Where should one put the new compiled sbt-launch-0.7.x.jar file? Do I have to rename it to SNAPSHOT suffix?
it's that it's not possible to checkout sbt on windows due to some directories (at sbt / src / sbt-test / java / argfile / src ) having spaces at the end of their name
if someone got a workaround please advice
Thanks, Oleg.
sbt 0.10 and 0.11 are very buggy. You cannot even work with scala-time. Use 0.7.7