Commit Graph
2173 Commits
Author SHA1 Message Date
Mark Harrah c81c9e0bf5 Fixes #582. Don't merge dependencies with mismatched transitive/force/changing values.
This avoids the assertion, but note that Ivy is unlikely to work properly in this situation.
2012-12-12 15:58:45 -05:00
Eugene Vigdorchik 7d8002c5e8 Filter out null parent files when deleting empty directories. Closes #589. 2012-12-12 15:58:26 -05:00
Mark Harrah b4c6a3241f Fixes #594. Global plugin products weren't being included on Compile classpath of build definition project. 2012-12-12 15:58:08 -05:00
Mark Harrah 6b0a2c7113 Handle removed files when skipping to recompiling all files. 2012-12-12 15:57:51 -05:00
Mark Harrah c771312089 fix location of sbt-git in project/source-plugins test 2012-12-12 15:57:42 -05:00
Mark Harrah 4cb73270cf test for #594 2012-12-12 15:57:35 -05:00
Mark Harrah dc4331eeb5 Docs: concurrentRestrictions should be 'in Global' 2012-12-12 15:57:01 -05:00
Mark Harrah b64a1e9d06 had to drop non-ascii unicode characters for latex for now 2012-12-12 15:56:15 -05:00
Mark Harrah 5590c6252c fix broken commit 2012-12-12 15:56:07 -05:00
Mark Harrah be0279babb Work around File constructor not accepting URIs for UNC paths. Fixes #564. 2012-12-12 15:55:57 -05:00
Mark Harrah cd7d915ef3 Recompile everything when invalidated sources exceed a certain fraction of all sources 2012-12-12 15:55:32 -05:00
Mark Harrah b09d3b4b13 split ForkTests react() out to workaround SI-6526 2012-12-12 15:54:40 -05:00
Mark Harrah ffea316c17 cleanup of #585: compatible with earlier launchers 2012-12-12 15:54:31 -05:00
Eric Bowman 7064ca4114 XSBT-5: maven-style ivy repo support in the launcher config
Change-Id: I22c1ff126961d61d92e2e45a5b7eff329d3def90
Reviewed-on: https://gerrit.gilt.com/10950
Reviewed-by: Eric Bowman <[email protected]>
Tested-by: Eric Bowman <[email protected]>
2012-12-12 15:54:24 -05:00
nau 1102bc84cb Update compile/inc/Incremental.scala
Fix for http://stackoverflow.com/questions/12972183/sbt-always-does-full-rebuild-because-of-modified-binary-dependency-rt-jar
def externalBinaryModified uses java.io.File.equals() to check if files are the same. It's better to use File.getCanonicalPath in this case.
2012-12-12 15:52:24 -05:00
Eugene Vigdorchik c693fce585 Call System.exit after the main thread is finished. Closes #565. 2012-12-12 15:52:07 -05:00
Eugene Vigdorchik 24ee8b7f13 Abort running tests on the first failure to communicate results back to the main process. Closes #557. 2012-12-12 15:51:59 -05:00
Mark Harrah 16c9972686 Parser.failOnException method, don't let rhs of alias fail the parse. Fixes #572.
alias only parses the right hand side for tab completion help.
The assignment should happen whether or not the parse is successful because the
context may change by the time the alias is actually evaluated.
In particular, the 'set' command uses the loaded project for tab completion in 0.12.1.
When a .sbtrc file is processed, the project has not been loaded yet, so aliases
involving set fail.  Wrapping the rhs in failOnException addresses this.
2012-12-12 15:51:17 -05:00
Mark Harrah 7ae33c03c7 replace Symbol.nameString calls with simpleName(Symbol). Fixes #577.
nameString is only for printing and has different behavior when scalac is
given -uniqid.
2012-12-12 15:51:10 -05:00
Jason Zaugg 304f3d4ca6 Fix #552 Compensate for JLine's absent EOF detection.
In the unsupported terminal mode, JLine treats a broken
stdin as an endless stream of empty lines. This is problematic
for idea-sbt-plugin: if the IntelliJ process is forcibly killed
and leaves the child SBT process running, it consumes considerable
CPU processing these.

Patching JLine itself would be the cleanest solution (the change
has already been applied to JLine 2), but I've shied away from that
and instead wrapped the InputStream that is read by JLine to
intercept the result of -1 from read(). When this happens, the
flat `inputEof` is set to true.
2012-12-12 15:46:40 -05:00
Mark Harrah 78c9afbe56 invalidate cache when metadata deleted from local repository 2012-12-12 15:45:54 -05:00
Mark Harrah 8c545b8a04 pending test case demonstrating cache issue when deleting parts of local repository 2012-12-12 15:45:27 -05:00
Mark Harrah 6baf729954 add [every] to syntax summary of 'set' command 2012-12-12 15:45:18 -05:00
Kevin Scaldeferri 1f8c21de18 Include all JAR packaging types in the default classpathTypes. Fixes #550
These special types need to be recognized in both the POM parser and added to the classpath.
The previous code was not DRY, and eclipse-plugin was in one but not the other.  This ensures
new types can be added in the future without risking this type of oversight.
2012-12-12 15:45:06 -05:00
Mark Harrah f53ee2fd0f sample usage of separate macro configuration 2012-12-12 15:44:45 -05:00
Eugene Vigdorchik 99e90ba147 When forking tests serialize Event.error as well. Closes #543. 2012-12-12 15:44:16 -05:00
Mark Harrah 0a6bb50ecc better error message for null setting values 2012-12-12 15:44:03 -05:00
xuwei-k 6255c05029 add some plugins and update url 2012-12-08 23:32:16 -05:00
Mark Harrah 7c74ec2de1 Docs: section on 'state' task 2012-12-03 08:58:21 -05:00
xuwei-k e6b861a654 xsbt-web-plugin moved 2012-12-02 03:20:20 -05:00
Taro L. Saito 75ae95bac5 Fix typo 2012-11-20 08:31:52 -05:00
Taro L. Saito 068925f6e9 Add a link to sbt-pack plugin 2012-11-20 08:31:52 -05:00
Mark Harrah 5910c68a19 fix 0.12.1 changes section 2012-11-01 16:30:38 -04:00
James Ward 40f81bad56 Fixed broken URL 2012-10-26 15:08:05 -04:00
Josh Suereth a3a3f7b505 Update src/sphinx/Community/Using-Sonatype.rst
Fix link to PGP plugin docs.
2012-10-26 15:08:03 -04:00
Mark Harrah d5093e1eb7 Docs: use repo.scala-sbt.org on Community-Plugins page 2012-10-22 08:24:15 -04:00
Mark Harrah 5f79296247 Docs: fix version switching from / 2012-10-16 16:12:52 -04:00
Mark Harrah 30ca2ac64e Docs: fix switching version of /index.html to go to versioned home.html 2012-10-16 16:05:32 -04:00
Mark Harrah 59b1566206 Docs: fix overlap of title and search box 2012-10-16 16:05:31 -04:00
Mark Harrah 600caef721 Docs: auto-generate /index.html from <version>/docs/home.html and add version selection 2012-10-16 15:05:03 -04:00
Michael Allman 0ea59650a3 Update documentation to reflect API change: externalIvySettings(url("...")) -> externalIvySettingsURL(url("...")) 2012-10-16 08:03:14 -04:00
Mark Harrah deddd865b1 Docs: fix overlap of hidden h1 with breadcrumb bar. 2012-10-15 13:06:22 -04:00
Mark Harrah 4aa6dbbcea search bar and link Home to scala-sbt.org when targeting the website. Fixes #575. 2012-10-15 12:42:20 -04:00
Mark Harrah 44fbb25709 address publishTo warning 2012-10-15 12:42:20 -04:00
Mark Harrah 61f0c7c59c docs: minor cleanup of Proxy-Repositories 2012-10-15 12:42:20 -04:00
Josh Suereth 466de88342 More about mvn vs. ivy proxies 2012-10-12 14:54:59 -04:00
Josh Suereth 5e4cf28ac2 First cleanup 2012-10-12 14:54:59 -04:00
Josh Suereth 9f2e53c121 Added Proxy repository configuration guide. 2012-10-12 14:54:59 -04:00
Mark Harrah 556e705065 Docs: remove Yum and Apt sections. These repos follow Typesafe stack releases, not sbt releases. 2012-10-11 09:53:54 -04:00
Mark Harrah ad2febf5bb update links in README to point to scala-sbt.org. Fixes #567. 2012-10-10 08:28:37 -04:00