sbt, the interactive build tool
Go to file
Antonio Cunei 75f0438946 Use the correct state in buildPluginDefinition()
Within buildPluginDefinition(), the call to setProject() can
(and usually will) return a modified structure together with
the new state.

The subsequent call to evalPluginDef() should use the updated
structure, rather the old stucture that was present before
the setProject() ("pluginDef"); if that is not the case,
the code called by evalPluginDef() will find an inconsistent
structure/state combination, and behave in bizarre ways as
a result.

More in general, it is a bit dangerous to pass to routines
in parallel the two separate state and structure, as the
two may easily inadvertently fall out of alignment, as in this
case.

This patch should be applied to both the 0.13 branch as well
as to a future 0.12.5 release (the corresponding file there
is ./main/Load.scala).
2014-04-16 17:56:49 +02:00
cache deprecations 2013-02-25 09:24:04 -05:00
compile Merge pull request #1250 from gkossakowski/namehashing-cleanup 2014-04-16 00:18:27 +02:00
interface Add hashing of public names defined in a source file. 2013-12-04 01:34:18 +01:00
ivy Merge pull request #1226 from sbt/wip/bump-to-latest-ivy 2014-04-10 10:15:26 -07:00
launch Fixes issue with deadlocking server discovery on windows. 2014-04-16 08:44:03 -04:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Use the correct state in buildPluginDefinition() 2014-04-16 17:56:49 +02:00
project Merge pull request #1226 from sbt/wip/bump-to-latest-ivy 2014-04-10 10:15:26 -07:00
run Override certain SecurityManager methods to avoid filesystem performance hit. 2014-03-06 07:39:06 -05:00
sbt Create test for configuration ordering regression. 2014-04-10 10:05:15 -04:00
scripted Recover from failed 'reload' command in the scripted sbt handler. 2013-09-18 10:27:19 -04:00
src Add some of the latest 0.13.5 changes to the doc. 2014-04-10 13:34:58 -04:00
tasks API documentation for TaskStreams. 2013-12-19 18:32:01 -05:00
testing Fix merge conflicts in pulling doc fixes from 0.13.1 into 0.13 branch. 2014-03-06 10:10:38 -05:00
util Merge pull request #1242 from sbt/wip/cancel-task-hooks 2014-04-08 23:32:46 -07:00
.gitattributes Added .gitattributes file. 2013-04-25 00:06:51 +08:00
.gitignore support defining Projects in .sbt files 2012-12-09 20:40:41 -05:00
.travis.yml Split scripted tests into matrix so we run on parallel virtual machines. 2014-03-08 10:50:33 -05:00
CONTRIBUTING.md Fixing typos 2014-04-14 12:46:34 -04:00
LICENSE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
NOTICE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
README.md Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
api.specification Macro def aware recompilation. 2012-03-04 17:35:51 +01:00
scripted.specification New scripted test framework 2009-11-09 09:34:52 -05:00

README.md

sbt

sbt is a build tool for Scala, Java, and more. For general documentation, see http://www.scala-sbt.org/.

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue. The short version: try StackOverflow and sbt-dev. Don't open an Issue.

sbt 0.13

This is the 0.13.x series of sbt.

  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • Google Code: hosts sbt 0.7.7 and earlier versions

license

See LICENSE.