Commit Graph

3532 Commits

Author SHA1 Message Date
Havoc Pennington 007a8f2a70 ServerApplication: yield before we check on the dumper thread 2014-05-28 10:07:35 -04:00
Dan Sanduleac c006692fc3 Make GlobalPluginData preserve compatibility wrt .unapply 2014-05-28 14:50:41 +01:00
Dan Sanduleac b382cf464d build projects' transitiveUpdate to depend on globalPluginUpdate 2014-05-28 14:50:40 +01:00
Dan Sanduleac d970ab3af3 Re-add scripted test 2014-05-28 14:50:40 +01:00
Dan Sanduleac 87e9250cb2 Revert "Load global plugins in their own class loader and replace the base loader with that. Fixes #272."
This reverts commit 8cb7e23011.

Conflicts:
	main/src/main/scala/sbt/Load.scala
2014-05-28 14:50:39 +01:00
Josh Suereth 2dc910ba0b Merge pull request #1358 from dansanduleac/issue/1194
Resolve ThisProject properly
2014-05-28 09:45:28 -04:00
Josh Suereth 9673d423aa Merge pull request #1359 from ancientrock/jdk8-tip
JDK8 compat issue, MaxPermSize removed since JDK 8
2014-05-28 09:44:52 -04:00
Josh Suereth ae02b495e6 Fix bug in release script due to typo.
* Fix collection typo
* Create shared command to setup 2.11 builds
* Alter snapshot detection to allow more flexible milestone versioning.
* Remove cusotm isSnapshot key for new sbt 0.13.2 isSnapshot key.
2014-05-28 09:37:14 -04:00
Josh Suereth 4c2d88649e Fix formatting issues and bump to sbt 0.13.5 2014-05-28 09:12:55 -04:00
Josh Suereth 89091ca4fc Merge remote-tracking branch 'origin/0.13.5' into wip/fix-doc-generation
Conflicts:
	project/Sbt.scala
2014-05-28 09:09:51 -04:00
Josh Suereth b69a273f37 Fix import issues to generate sxr/scaladoc. 2014-05-28 08:55:29 -04:00
Havoc Pennington 1e80d811a1 Read stderr from server for a short time before exiting
Previously we exited immediately without waiting to get any
error output.

This patch also adds the command line and directory to the
exception message on failure, in case the failure is due to
getting one of those wrong, for example.
2014-05-27 18:36:08 -04:00
Josh Suereth 73e8676ea5 0.13.5 release. 2014-05-27 09:35:32 -04:00
Josh Suereth af70a895de Merge pull request #1364 from scalatest/test-result-acc-count
Accumulate Test Count
2014-05-23 09:37:46 -04:00
cheeseng 83af01b88a Changed to combine SuiteResult with same name, instead of replacing with latest one. This solves the test result count problem when a Suite is executed more than 1 time due to being returned as nested suites (sub-task). 2014-05-22 17:28:26 +08:00
Grzegorz Kossakowski ef6019d924 Merge pull request #1360 from gkossakowski/incremental-cleanup
Incremental cleanup
2014-05-22 09:43:15 +02:00
Grzegorz Kossakowski 129c870a1d Break Incremental.scala into smaller files.
Incremental.scala contained all three strategies of incremental
compilation:

  * ant-style
  * the default one (before name hashing)
  * name hashing

Let's move all those classes into separate files. Also, move common code
into a separate file.
2014-05-21 16:23:55 +02:00
eugene yokota 1cbf1aaf28 Merge pull request #1357 from sbt/wip/roll-back-ivy
Roll back Ivy to 2.3.0 for 0.13.5 for #1356
2014-05-20 22:43:33 -04:00
ZhiFeng Hu 0f54be9c96 JDK8 compat issue, MaxPermSize removed since JDK 8 2014-05-21 10:41:23 +08:00
Dan Sanduleac 5273aa3a03 Add scripted test to verify ThisProject is resolved properly 2014-05-21 01:16:15 +01:00
Dan Sanduleac 5deb103ef6 Fix resolving Select(ThisProject) 2014-05-21 01:16:15 +01:00
Grzegorz Kossakowski 7849361c82 Remove stale, commented out code from Incremental.scala
The commented out code was sitting here since 2010. It bit-rotted to the
point of not being useful anymore. Let's remove it.
2014-05-20 19:51:28 +02:00
Eugene Yokota d2f07be79d Roll back Ivy to 2.3.0 for 0.13.5 2014-05-20 12:09:19 -04:00
Josh Suereth d8a8792946 Merge pull request #1353 from dansanduleac/bugfix/failing-derived-settings-tests
SettingsTest: Don't allow generated strings (key names) to be empty
2014-05-20 08:32:53 -04:00
Dan Sanduleac 4eafda7891 Don't allow generated strings (key names) to be empty 2014-05-20 09:02:10 +01:00
eugene yokota 5a0e962d8a Merge pull request #1349 from paulp/pr/dead-line
Remove line of dead code.
2014-05-19 12:33:45 -04:00
Josh Suereth 398385d00c Merge pull request #1346 from benjyw/sort_analysis_seqs
Ensure sequences in analysis files are read in order.
2014-05-19 10:45:13 -04:00
Paul Phillips e88d1436c5 Remove line of dead code.
Unmoored expression in constructor does nothing except pack
on a few micros.
2014-05-19 06:17:44 -07:00
Benjy 00f12c6046 Ensure sequences in analysis files are read in order.
For various reasons, we serialize sequences as:

0 -> foo
1 -> bar
...

Until now we were implicitly relying on the sequences being in order.
However external code may end up (due to bugs or otherwise) messing
with the ordering:

1 -> bar
0 -> foo
...

This change ensures that we don't get confused by that. Although
it's best if external code doesn't mess up the ordering, it's still
a good idea to be defensive about this.

Note that the sequences we serialize are short, so the extra sort
is not a performance concern.
2014-05-17 01:04:14 +00:00
eugene yokota da9f29bd04 Merge pull request #1345 from sbt/wip/cross-publish-libs
Add the ability to cross publish libraries and create a command to autom...
2014-05-16 17:20:30 -04:00
Josh Suereth a1a784bf91 Add the ability to cross publish libraries and create a command to automatically do so. 2014-05-16 16:50:34 -04:00
eugene yokota 7f69facd26 Merge pull request #1344 from sbt/wip/merge-0.13.5
Wip/merge 0.13.5
2014-05-16 14:14:33 -04:00
Josh Suereth 7d0b517be2 Merge remote-tracking branch 'origin/0.13.5' into wip/merge-0.13.5
Conflicts:
	main/src/main/scala/sbt/Load.scala
2014-05-16 14:04:51 -04:00
eugene yokota 748ff345a4 Merge pull request #1342 from sbt/wip/fix-build-loaders
Fix pattern match on buildLoaders.
2014-05-16 09:10:23 -04:00
Josh Suereth e95feccfca Fix pattern match on buildLoaders.
Fixes #1341
2014-05-16 07:41:29 -04:00
eugene yokota f402f9ac9e Merge pull request #1336 from sbt/wip/compile-with-2.11
Bump expected 2.11 module versions so we can compile with 2.11
2014-05-15 09:13:36 -04:00
Josh Suereth abffc3e1bd Bump expected 2.11 module versions so we can compile with 2.11
Add scala 2.11 test/build verification.

* Add 2.11 build configuratoin to travis ci
* Create command which runs `safe` unit tests
* Create command to test the scala 2.11 build
* Update scalacheck to 1.11.4
* Update specs2 to 2.3.11
* Fix various 2.11/deprecation removals
  and other changes.

Fix eval test failure in scala 2.11 with XML not existing.
2014-05-14 19:08:05 -04:00
eugene yokota 1d67d42da3 Merge pull request #1334 from sbt/wip/merge-0.13.5
Wip/merge 0.13.5
2014-05-14 09:06:09 -04:00
eugene yokota d1b6410c02 Merge pull request #1333 from sbt/wip/fix-derived-setting-tests
Fixed project/derived test to pass
2014-05-14 09:05:59 -04:00
Josh Suereth 81ae2fa582 Merge remote-tracking branch 'origin/0.13.5' into wip/merge-0.13.5
Conflicts:
	main/src/main/scala/sbt/EvaluateTask.scala
2014-05-13 19:31:44 -04:00
Josh Suereth ebab164a41 Disable failing derived test for now.
* Disable test of derived setting which depends on itself
* Not sure we even care about supporting that feature.
2014-05-13 18:27:22 -04:00
Josh Suereth 148b578681 Fix project load ordering to match 0.13.5 and previous.
* root project needs to be discovered FIRST in the list.
* All other rpojects come in the order they were seen.
2014-05-13 18:27:04 -04:00
Josh Suereth bb8bb1e667 Merge pull request #1328 from gkossakowski/cleanup-incremental-tests
Cleanup incremental tests
2014-05-13 14:52:47 -04:00
Josh Suereth d80a39b78f Merge pull request #1330 from pvlugter/cross-update-cache
Use separate update caches when cross compiling scala
2014-05-13 14:52:11 -04:00
eugene yokota d509ff83a1 Merge pull request #1332 from sbt/wip/disable-force-gc
Default force gc to false
2014-05-13 14:47:46 -04:00
Josh Suereth 015ccf2fae Modify changes with latest RC changes. 2014-05-13 13:56:25 -04:00
Josh Suereth 664d83ed0f Back out autogc fix to be optionally enabled.
Workaround for #1329
2014-05-13 13:14:39 -04:00
Peter Vlugter 7948fbafbc Use separate update caches when cross compiling scala 2014-05-13 16:14:30 +12:00
Grzegorz Kossakowski 658e1928cc Update comments in `inc-ant-style` scripted test.
I forgot to update comments after copy&pasting the test. The updated
comments describe what's being tested related to Ant mode.
2014-05-12 16:15:35 +02:00
Grzegorz Kossakowski 2ec6f5c589 Use new sbt syntax for defining `check-compilations` task.
Some scripted tests define `check-compilations` task. We can refactor them
to be more readable by using new `.value` syntax.
2014-05-12 16:11:49 +02:00