Eugene Vigdorchik
2ba9bbc767
More indentation messed up.
2012-04-04 16:25:12 +04:00
Eugene Vigdorchik
b5766e4057
Fix newlines and indentation.
2012-04-04 09:30:46 +04:00
Eugene Vigdorchik
291db63af3
Fixes
2012-04-03 19:43:59 +04:00
Eugene Vigdorchik
cdfc72d05d
Given the ease of defining concurrentRestictions, I think it should be left to the user to correctly provide the limit for forked test groups.
2012-04-03 18:35:07 +04:00
Eugene Vigdorchik
e169e4f222
Correctly initialize ForkedTestGroup restriction.
2012-04-03 18:13:02 +04:00
Eugene Vigdorchik
c4385adce0
Some more fixes.
2012-04-03 11:49:41 +04:00
Eugene Vigdorchik
4abefbd3b6
Remove redundant try/catch.
2012-04-02 23:56:42 +04:00
Eugene Vigdorchik
ce0a2a3625
More fixes.
2012-04-02 19:01:54 +04:00
Eugene Vigdorchik
2741515d44
Fixes after review, take 3.
2012-04-02 16:05:56 +04:00
Eugene Vigdorchik
4d5effcb28
Fixes after review, take 2.
2012-04-02 12:08:18 +04:00
Eugene Vigdorchik
e3a7a331d5
Changes after review, step 1.
2012-04-02 10:46:13 +04:00
Eugene Vigdorchik
68c5cbe438
Fork java, not scala.
2012-04-01 15:49:29 +04:00
Eugene Vigdorchik
7afc9e77c6
\'fork in test\' initial implementation.
2012-04-01 11:44:05 +04:00
Indrajit Raychaudhuri
eef3a1ed31
Adjust mechanism of resolver conflict detection
...
Warn when publish resolver and dependency resolvers have same name but different access mechanism.
Multiple resolvers having same name as well as same access mechanism (i.e., equality matching) isn't
usually a problem. A common scenario for this would be Maven based resolvers with exact (http based)
same access mechanism. Also see #367 , #363
2012-03-12 05:25:12 +05:30
Indrajit Raychaudhuri
3adf080bc1
Convenient `DefaultOptions` for resolvers.
...
Simply, add `DefaultOptions.addResolvers` in project config
or `DefaultOptions.addPluginResolvers` in plugin config to have known
resolvers added by default (snapshot mode sensitive)
2012-03-12 05:25:12 +05:30
Indrajit Raychaudhuri
abcd4555b9
Replace `Pair.apply` with `Util.pairID`, avoids extra class generation
2012-03-12 05:25:12 +05:30
Indrajit Raychaudhuri
c09174c428
Enable `sbtPluginReleases` repository by default for plugins. Closes #380
2012-03-12 05:25:12 +05:30
Indrajit Raychaudhuri
5b3dc5bf26
Update Resolver configuration
...
- deprecate scala-tools resolvers
- rename `typesafeResolver` to `typesafeReleases` for consistency
- add reference for other wel known resolvers, viz., oss.sonatype.org and scalasbt.artifactoryonline.com
- rearrange locations for helper methods
2012-03-12 05:25:12 +05:30
Mark Harrah
d93b522ec7
Merge pull request #396 from eed3si9n/string_literals
...
Parser for escaped and verbatim string literals
2012-03-11 12:15:20 -07:00
e.e d3si9n
784c9ed024
fixes NotQuoted
2012-03-11 15:02:50 -04:00
e.e d3si9n
5a691fbb67
StringVerbatim is now stateless
2012-03-11 13:19:13 -04:00
e.e d3si9n
8545e912da
removed Octal
2012-03-11 13:12:23 -04:00
Indrajit Raychaudhuri
ce32a4a157
No need for scalaVersion suffix in scripted dependency
2012-03-11 18:47:51 +05:30
e.e d3si9n
87c52f5f1b
implemented parser for escaped string and verbatim string
2012-03-11 07:31:39 -04:00
Mark Harrah
c6f28c650d
option to preserve last modified time of files extracted from zip file. enabled by default. fixes #389
2012-03-10 14:26:09 -05:00
Mark Harrah
65f51cdb85
convenience functions for testing parsers
2012-03-10 14:16:40 -05:00
Eugene Vigdorchik
d81f2b5870
test-quick test.
2012-03-10 19:52:57 +04:00
Mark Harrah
1687cf8a8c
handle absence of CONT signal
2012-03-09 13:38:45 -05:00
Mark Harrah
4527e9bfc6
merge test-quick reimplementation #393 from vigdorchik/wip_test_quick
2012-03-09 09:31:39 -05:00
Mark Harrah
5b20d330c5
handle CONT signal to reset JLine after resuming from stop. fixes #394
2012-03-09 07:08:38 -05:00
Mark Harrah
3587777638
move error processing to complete/
2012-03-09 07:08:38 -05:00
Eugene Vigdorchik
40d35a5ced
Change according to review and add a missing recursive dependency check.
2012-03-08 20:20:17 +04:00
Eugene Vigdorchik
d5bf8cf6d6
Transitive compilation dependency tracking.
2012-03-08 18:58:44 +04:00
Eugene Vigdorchik
efb9cde9f3
Add test file itself to the set to track compilation time.
2012-03-07 13:13:56 +04:00
Eugene Vigdorchik
e92ba43b3f
Add API dependency tracking to testQuickFilter.
2012-03-07 12:28:40 +04:00
Indrajit Raychaudhuri
57ec3bf37e
rename `docSetting` to more consistent `docTaskSettings`
2012-03-06 23:36:02 +05:30
Indrajit Raychaudhuri
2e554c10ba
Add support for compile task specific settings on `compile` task axis
...
So far we had ability to configure compile task specific settings on
`Compile` Configuration scope only. We can now add `compile` task scope
as well.
Usecase: one can now specify:
```
// applies for all tasks on Compile axis
scalacOptions in Compile += "-deprecation"
// applies for compile tasks on Compile axis
scalacOptions in (Compile, compile) += "-Xcheckinit" // effectively, "-deprecation -Xcheckinit"
```
2012-03-06 11:20:11 +05:30
Indrajit Raychaudhuri
14f6d7fd87
rename `packageTasks` to more consistent `packageTaskSettings`
2012-03-06 11:20:11 +05:30
Indrajit Raychaudhuri
b64e9fb482
Use regular scala helper `Pair.apply` instead of `PairID`
2012-03-06 11:20:11 +05:30
Mark Harrah
6746557d05
addCommandAlias method for defining command aliases in build definitions. fixes #388
2012-03-05 13:40:17 -05:00
Mark Harrah
868196e652
delete empty parent directories of deleted class files. fixes #387
2012-03-05 13:40:17 -05:00
Eugene Vigdorchik
cef766046d
Add forgotten test listener.
2012-03-05 18:37:46 +04:00
Eugene Vigdorchik
6e0ad08ad3
testQuick: track previous test status.
2012-03-05 17:17:55 +04:00
Mark Harrah
b865d88060
Merge pull request #386 from retronym/topic/macro-def
...
Topic/macro def
2012-03-04 15:46:56 -08:00
Jason Zaugg
d422b5cb8f
Scripted test for a macro def in a source file.
...
Needed to increase MaxPermSize, otherwise I was unable to run this test on Java 1.6.0_29 64bit Server on Mac OS.
2012-03-04 22:51:57 +01:00
Jason Zaugg
17eeec6876
Move condition out of SameAPI.
...
It was tenuously relying on the caller short-circuiting with `shortcutSameSource`.
2012-03-04 21:28:01 +01:00
Jason Zaugg
a1cc62a598
Avoid copy-paste of Flags.MACRO with source-compatibility trickery.
2012-03-04 19:07:33 +01:00
Jason Zaugg
72e41c3329
whitespace
2012-03-04 17:41:39 +01:00
Jason Zaugg
067917a0fb
Macro def aware recompilation.
...
- Read macro modifier from method definition.
- Always recompile downstream files after a file containing macro defs is recompiled.
- Source is extended with a hasMacro attribute. Mark suggests that this might be better
tracked in Relations, but I'm not sure how to make that change.
2012-03-04 17:35:51 +01:00
Eugene Vigdorchik
fe753768d9
Extract testFilter task to substitute in case of test-quick.
2012-03-04 11:09:42 +04:00