Mark Harrah
7dadbf1fc6
Drop unneeded import that triggers SI-7690.
2013-07-23 15:20:45 -04:00
Mark Harrah
4123769214
inline implementation of Symbol.isTopLevelModule, which no longer exists in 2.11
2013-07-23 11:35:34 -04:00
Mark Harrah
61509408c9
Deprecate seq. The implicits Seq[Setting[_]] <-> SettingsDefinition handle the typical plugin/build.sbt case.
2013-07-19 20:50:10 -04:00
Mark Harrah
2e0257f440
Alias from Project->Def for SettingsDefinition
2013-07-19 20:50:10 -04:00
Mark Harrah
0a77a47f41
Revert "Don't import the Global.Range in 2.11, which shadows the collection Range"
...
This reverts commit 5d7d9c4cef . Can't do it this way
since Global.Range doesn't exist in 2.10.
2013-07-19 07:20:12 -04:00
Mark Harrah
5d7d9c4cef
Don't import the Global.Range in 2.11, which shadows the collection Range
2013-07-18 22:41:52 -04:00
Mark Harrah
a4d0a0cb5a
Provide implicits in consoleProject to add .eval to task and setting keys. Fixes #815 .
2013-07-17 14:58:53 -04:00
Mark Harrah
c0e06a14fe
Apply setup and cleanup hooks to forked tests.
...
The actual class loader for test classes cannot be provided because it
is in another jvm.
2013-07-16 13:55:10 -04:00
Mark Harrah
c2df1e8d68
Deduplicate options processing for forked/non-forked tests.
...
This in particular fixes testOnly/testQuick when forking.
2013-07-16 13:55:10 -04:00
Mark Harrah
45677de789
test arguments no longer need to be passed throughout- they are now only used in Runner construction
2013-07-11 21:13:06 -04:00
Mark Harrah
4795799a15
Drop defaultConfigurationMapping, which wasn't used. Fixes #421 .
2013-07-11 18:49:30 -04:00
Mark Harrah
32bdab68bd
Fix remaining Global defaults to be added only once.
2013-07-11 18:49:30 -04:00
Mark Harrah
0507a2a1a9
Deprecate implicit RootProject/LocalProject calls on URI/File/String
...
Builds are using explicit calls anyway, so reduce the implicits.
2013-07-10 18:15:30 -04:00
Mark Harrah
001bd6cb9f
Provide a better error message when an older launcher is used with 0.13 and JLine classes are incompatible.
2013-07-08 18:42:00 -04:00
Mark Harrah
ccff43ce8c
API docs and cleanup for test configuration data structures
2013-07-08 09:14:19 -04:00
Mark Harrah
919d0ac63d
Failed task execution should still preserve State changes. Fixes #804 .
...
Candidate for inclusion in 0.13.0 if there is another RC, otherwise
scheduled for 0.13.1.
2013-07-03 17:16:00 -04:00
Mark Harrah
3e7bedd11b
Properly filter test results and decode test names in printed output.
...
Initial report by @viktorklang, based on his patch.
2013-07-03 17:16:00 -04:00
Mark Harrah
7992997ac1
refined auto project ID to prepend 'root-' if initial character is numeric
2013-06-28 14:31:45 -04:00
Mark Harrah
a1a00526ff
properly wrap unknown test data structures in serializable ones
2013-06-28 12:12:58 -04:00
Mark Harrah
851451a90a
shouldn't need to deserialize user classes when forking tests, only sbt+test-interface
2013-06-28 11:02:49 -04:00
Mark Harrah
53191cb787
Only print extra test status counts if nonzero
2013-06-28 09:48:27 -04:00
Mark Harrah
301c11f9e0
Drop ForkTestDefinition in favor of TaskDef
2013-06-28 09:24:47 -04:00
cheeseng
86f47bd67d
Added explicitlySpecified and selectors field to ForkTestDefinition, and change ForkMain to use explicitlySpecified and selectors value sent from ForkTests.
2013-06-28 17:45:13 +08:00
cheeseng
0c66d1a5d3
Added support of Ignore, Canceled and Pending added in the latest framework API.
2013-06-28 17:19:27 +08:00
cheeseng
5bb46359b5
Change to use test-interface-1.0-SNAP7, and use ScalaTest 2.0.M6-SNAP26 which implemented test-interface-1.0-SNAP7.
2013-06-28 17:18:38 +08:00
Mark Harrah
220886be80
fix plugin depth and project ID auto detection for external dependencies
2013-06-28 00:01:19 -04:00
Mark Harrah
ca9f32c7d1
Include projects without defined settings in KeyIndex.
2013-06-28 00:01:19 -04:00
Mark Harrah
0e009b1480
Exclude class directories from plugin classpath used for updateSbtClassifiers: classified jars not available
...
Fixes #798 .
2013-06-27 14:12:47 -04:00
Eugene Yokota
b880c5bc16
Supply default terminal width to fix #795
2013-06-25 10:37:56 -04:00
Mark Harrah
aef6df3e20
handle undefined target directory in unique target check
2013-06-23 19:57:31 -04:00
Mark Harrah
602c1759a1
Make ExecuteProgress listener configurable via executeProgress setting.
...
Experimental, so everything is private[sbt].
2013-06-23 19:57:30 -04:00
Mark Harrah
1cc2f57e15
Experimental task progress interface. Fixes #592 .
...
Set sbt.task.timings=true to print timings for tasks.
This sample progress handler shows how to get names for tasks and
deal with flatMapped tasks. There are still some tasks that make
it through as anonymous, which needs to be investigated.
A setting to provide a custom handler should come in a subsequent commit.
2013-06-23 19:57:30 -04:00
Mark Harrah
ce1c8b0ebc
Better auto project ID handling. Ref #776 .
...
* Consolidate project ID validation and normalization into Project methods
* Provide an earlier and more detailed error message when the directory
name can't be used for the project ID
2013-06-23 19:57:30 -04:00
Mark Harrah
6f0028e50d
Use last path component of a URI in the staged path.
2013-06-23 19:57:30 -04:00
Mark Harrah
6091e60611
Show project version in 'about'
2013-06-19 19:18:40 -04:00
Mark Harrah
7796715e88
Move deprecated scala-tools conveniences to private[sbt] accessibility
2013-06-19 17:15:22 -04:00
Mark Harrah
464f093017
Handle newer predefined launcher types in boot overrides
2013-06-19 17:15:22 -04:00
Mark Harrah
b1cba90332
Promote new State methods to public
2013-06-19 12:01:45 -04:00
Mark Harrah
284cddff70
set position on parameter references in task/setting macros
2013-06-19 11:53:11 -04:00
Mark Harrah
2f9d68e869
Require projects to have unique target directories.
...
Configuring projects so that target directories overlap is usually
unintentional and the error message that results is usually unrelated
to the cause.
2013-06-18 18:43:50 -04:00
Mark Harrah
800bd3698a
Add syntax summary to 'set' and 'inspect' help. Follow-up to #776 .
2013-06-17 12:06:13 -04:00
Mark Harrah
53f75a85cc
Basic named commands now print usage if the argument parser fails on empty input. Fixes #776 .
...
The Help for these commands now needs to be cleaned up, since they were not written with
this feature in mind. In particular,
* consider adding syntax summaries in the short help strings
* alternatively, add the syntax summary data elsewhere for use specifically by this feature
* display a better message when there is no short help string, such as
"See 'help <command>' for usage." or just displaying the lower level error message, such as
"Expected whitespace"
2013-06-17 12:06:13 -04:00
Mark Harrah
53e7960976
separate out help message functions
2013-06-17 12:06:13 -04:00
Mark Harrah
74438d0c72
handle empty help list in aligned printing
2013-06-17 12:06:13 -04:00
Mark Harrah
0780a6c08a
Key parsing improvements. Ref #776 .
...
* Explain context of expected ':' and '/' error messages
* Restore strict project ID parsing to get proper message about invalid project ID
2013-06-17 12:06:13 -04:00
Mark Harrah
fb27f5558c
Propagate taskDefinitionKey in Incompletes from flatMaps. Ref #784 .
2013-06-15 23:55:05 -04:00
Mark Harrah
5a252fae3a
ScopeFilter.debug to print accepted and rejected scopes
2013-06-10 17:05:11 -04:00
Mark Harrah
271b03550b
Record artifact, module ID, and config for products
2013-06-01 10:56:30 -04:00
Mark Harrah
cd2b1edf6c
IncOptions class backup directory should be per-compilation, not shared.
...
Otherwise, one concurrent compilation will clean the directory out from under another.
2013-05-30 15:00:26 -04:00
Mark Harrah
431a0be42d
Pull sbt dependency version from sbtVersion to facilitate cross-building plugins.
2013-05-30 15:00:26 -04:00