Commit Graph

2500 Commits

Author SHA1 Message Date
cheeseng a76523a5f6 Added >1 framework class per framework support, this enables sbt to support both old and new framework API at the same time. 2013-04-23 12:00:05 +08:00
cheeseng f38a244d0f Added code to call Runner's done() method in both InProcess and SubProcess cases. 2013-04-23 12:00:03 +08:00
cheeseng 244e65cd79 -Changed behavior so that only a single Runner instance is used to run tests in multiple test groups.
-Added code to support remoteArgs in test-interface 1.0.
2013-04-23 11:09:50 +08:00
cheeseng d2e40c1c56 Changed createTeskTasks in TestFramework.scala to reuse TestRunner instance when running different TestDefinition. 2013-04-23 11:09:49 +08:00
cheeseng b2b9fb132a Made to ForkMain's write method synchronized, to ensure the output stream won't corrupt when test framework implementation uses multi-threads to write event back to sbt. 2013-04-23 11:09:49 +08:00
cheeseng b83d378cd0 Changed ForkTests to call acceptorThread.join(), to make sure that acceptorThread is finished before Acceptor.result is called. 2013-04-23 11:09:48 +08:00
cheeseng 18bc8423b5 Initial version that uses new framework API in test-interface 1.0:
-Changed usages and implementations of interfaces in org.scalatools.testing._ to use/implement interfaces/classes in sbt.testing._ instead.
-Added sbt.testing to interfaceFilter in TestFramework.createTestLoader method to enable loading of classes in sbt.testing package.
-Added FrameworkWrapper.java to wrap old framework implementations.
-Added code in ForkMain.java to serialize Selectors.
2013-04-23 11:09:37 +08:00
cheeseng 838b737caa Bump up test-interface dependency to version 1.0-SNAP3. 2013-04-22 14:22:12 +08:00
Robin Green d95263f582 Docs: Fixed name of http_proxy env var 2013-04-08 09:22:24 -04:00
Mark Harrah b990a29c09 Undeprecate ScalaInstance.libraryJar, which will be reliable for modularized Scala. 2013-04-08 09:21:59 -04:00
Mark Harrah b560ef280e Fork run directly with 'java' to avoid additional class loader from 'scala' command. Fixes #702. 2013-04-05 09:02:24 -04:00
Mark Harrah 382b55402b don't put Scala jars on forked boot classpath by default
Ideally, Scala jars on the normal classpath would be moved to the boot classpath,
but this is more involved.
2013-04-05 09:02:24 -04:00
Mark Harrah 4630222aaa Deprecate old Scala+Java fork interfaces in favor of Fork+ForkOptions 2013-04-05 09:02:24 -04:00
Mark Harrah f18ddd2a88 make ScopeFilter accessible without a qualifier
Should be improved: ideally there would only be a single top-level alias.
2013-04-03 12:44:35 -04:00
Mark Harrah 322a49faba Make autoCompilerPlugins support compiler plugins defined in a internal dependency
requires the compiler plugin project to define exportJars := true
2013-04-03 12:44:35 -04:00
Eugene Platonov 8ce252d1b1 fix some code snippets for BuildLoader examples 2013-04-01 12:42:26 -04:00
Mark Harrah bd2a8e3afb Docs: note about postfix precedence on Tasks page 2013-04-01 11:39:02 -04:00
Philipp Dörfler 2d00fbc92b sbt-fx was renamed to sbt-fxml
There is a similarily named plugin "sbt-javafx" which is not listed here and which I discovered afterwards
2013-03-28 21:30:28 -04:00
Philipp Dörfler 7c67ad28be Added link to sbt-fx 2013-03-28 16:08:56 -04:00
Mark Harrah 5a92a3d92d multi-scope tests 2013-03-28 16:08:24 -04:00
Mark Harrah 45155e2616 move to <key>.all inDefaults 2013-03-28 16:08:24 -04:00
Mark Harrah 7605818f04 workaround for ThisProject not being properly resolved by Scope.resolve* 2013-03-28 16:08:23 -04:00
Mark Harrah d6ef9b0154 Docs: fix ScopeFilter API doc links 2013-03-28 16:08:23 -04:00
Mark Harrah 24fc00ddd5 Docs: escape the - in -b, since it gets interpreted as an option list otherwise 2013-03-28 16:08:23 -04:00
Mark Harrah 5f648d449a Docs: list multi-scope selection on changes page 2013-03-27 09:17:54 -04:00
Mark Harrah dce2853ae7 Correct data constructor for CrossVersion.binaryMapping. Fixes #716. 2013-03-27 09:17:54 -04:00
Mark Harrah 8b68e0f09e Docs: add section on getting values from multiple scopes 2013-03-27 09:17:53 -04:00
Mark Harrah 7ad678f4a4 Docs: cleaned up Tasks pages: clarified its purpose and reorganized 2013-03-27 09:17:53 -04:00
Mark Harrah 6113f55101 Docs: present the TaskInputs page as motivation and for deeper understanding 2013-03-27 09:17:53 -04:00
Mark Harrah b051d1e2c3 docs: drop section in getting started on sharing settings
with vals allowed in .sbt files, it is not necessary to include it
2013-03-27 09:17:53 -04:00
Mark Harrah 2a3af7fdca Docs: disable publishing for a project by overriding publishLocal to do nothing instead of deliver 2013-03-27 09:17:53 -04:00
Mark Harrah df5e79e3be API for evaluating a setting or task in multiple scopes 2013-03-27 09:17:53 -04:00
Mark Harrah 2f13b7a8c7 add publish-m2 task for publishing to ~/.m2/repository. Fixes #485. 2013-03-27 09:17:53 -04:00
Mark Harrah ebd24e95df back to a snapshot version 2013-03-18 11:47:45 -04:00
Mark Harrah 1ea9c5cf9b 0.13.0-M1 2013-03-18 10:28:02 -04:00
Mark Harrah 26d422fd0c 0.13.0-M1 2013-03-18 10:06:37 -04:00
Mark Harrah 6d4da5e394 precompile against Scala 2.9.3 2013-03-18 10:06:24 -04:00
Mark Harrah 28b12465df fix regex character filter in VersionParts 2013-03-18 09:52:57 -04:00
Mark Harrah e69df1ae9c use separate ivy home directories in component provider test so tests can run concurrently 2013-03-18 09:52:57 -04:00
Mark Harrah 6327e11a59 Object->AnyRef change in EvalTest 2013-03-18 09:52:57 -04:00
Alois Cochard 9aa575742b Rename xsbt-fmpp to sbt-fmpp url and add sbt-scalabuff 2013-03-15 10:23:31 -04:00
Mark Harrah 1f52917dc5 Docs: typo on Changes page 2013-03-15 10:15:16 -04:00
Mark Harrah d7971f6857 temporary option to disable classpath lookup in incremental compiler. Ref #710. 2013-03-14 16:47:46 -04:00
Mark Harrah 3e3d7949eb Docs: latest change summary, including 0.12.3-RC2 2013-03-14 16:17:12 -04:00
Mark Harrah fcfa51c2ab Remove the conflict warnings based on the evicted modules. Ref #709.
This aspect is better served by a standard Ivy conflict manager.
2013-03-14 16:17:12 -04:00
Mark Harrah 6b7fbfe779 Provided details of why external binaries are detected as modified in incremental compiler debug output. 2013-03-13 12:40:03 -04:00
Mark Harrah 9ebb952525 Logger.Null that discards logged messages 2013-03-13 12:40:03 -04:00
Mark Harrah c9c392d424 toString for Stamp types 2013-03-13 12:40:03 -04:00
Mark Harrah 008c2928b6 note that mixing RangePositions into Global isn't necessary in 2.11 2013-03-13 12:40:03 -04:00
Mark Harrah 6750ef7614 use Scala 2.10.1 final 2013-03-13 12:40:03 -04:00