My favorites | Sign in
Project Home Downloads Wiki Issues
Search
for

sbt has moved

sbt has now completely moved to GitHub.

See https://github.com/harrah/xsbt/wiki.

Getting Started

Build  
Updated Jul 27, 2011 by dmhar...@gmail.com

sbt has moved

sbt has now completely moved to GitHub.

See https://github.com/harrah/xsbt/.

Building sbt

Background

sbt 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.

Instructions

The 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.

Usage

Set 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.

Comment by lgreg.me...@gmail.com, Feb 17, 2010

Does this mean you have to bootstrap with an earlier version? The third line seems to invoke sbt before it is built.

Comment by project member dmhar...@gmail.com, Feb 17, 2010

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

Comment by tautri...@gmail.com, Jan 11, 2011

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?

Comment by olegl...@gmail.com, Feb 9, 2011

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.

Comment by Revoll...@gmail.com, Nov 5, 2011

sbt 0.10 and 0.11 are very buggy. You cannot even work with scala-time. Use 0.7.7

Powered by Google Project Hosting