Mark Harrah
7347e89f73
'set every <setting>' for overriding every definition of a key. fixes #154
2011-12-13 17:29:08 -05:00
Mark Harrah
454bc6095b
show definitions and uses of a key (not a full scoped key, just a key)
2011-12-13 17:29:08 -05:00
Mark Harrah
9c87d078e3
InputTask.dependsOn, fixes #242
2011-12-13 17:29:08 -05:00
杨博
4a727bc9d3
Allow `ModuleID % Configuration`
2011-12-13 00:08:18 +08:00
杨博
3d4b96e2df
Fix stack overflow when use Build.projects in a Project's settings.
2011-12-11 01:37:47 +08:00
Mark Harrah
91a136e5f6
Merge pull request #276 from eed3si9n/inspecttree
...
refactored scoped key manifest extraction to ScopedKeyData
2011-11-27 19:27:11 -08:00
Mark Harrah
f3f4bea2d5
fixes #280 . sort aggregate and classpath dependencies separately to keep cycle detection for them separate
2011-11-27 17:48:01 -05:00
e.e d3si9n
6d9aeb94e0
compressed map and getOrElse into if-else
2011-11-26 01:41:24 -05:00
e.e d3si9n
546e7d9bad
refactored scoped key manifest extraction to ScopedKeyData
2011-11-23 19:53:20 -05:00
e.e d3si9n
e85833b2de
"inspect tree <key>" command
...
This is a slightly cleaned up version of sbt-inspectr. When "inspect
tree <key>" is called, SettingGraph case class is created recursively
along the dependencies, calling the similar code as "inspect" command's
Project.details. Graph object then renders it as an ascii tree.
2011-11-23 00:49:27 -05:00
Mark Harrah
eb2ec8c781
concurrent execution restrictions
2011-11-19 23:56:30 -05:00
Mark Harrah
f813256ced
detect invalid project IDs
2011-11-19 23:56:30 -05:00
Mark Harrah
fa8fb49cc3
clean up last/global logging
...
add history of actually executed commands
2011-10-30 18:39:18 -04:00
Mark Harrah
5fd3c1d2e5
task execution interruptible using ctrl+c. fixes #228,#229
...
- interrupts task execution only
- no further tasks scheduled
- existing tasks interrupted
- a task must terminate any other started threads when interrupted
- set cancelable to true to enable
- currently, 'run' properly terminates if the application properly
terminates when interrupted
- 'console' does not, 'test' depends on the test framework
- also bundled: set connectInput to true to connect standard input to forked run
2011-10-18 22:43:25 -04:00
Mark Harrah
22b71b823a
convenience method for running tasks in aggregate
2011-10-16 22:37:24 -04:00
Mark Harrah
ddd70fcc77
inject 'log' method to State as convenience for CommandSupport.logger
2011-10-16 17:27:36 -04:00
Mark Harrah
6ddeca12a2
merge Scoped{Setting,Task,Input} and {Setting,Task,Input}Key
2011-10-16 17:27:36 -04:00
Mark Harrah
d15504d970
local settings, sbt-package-private for now
2011-10-01 14:40:14 -04:00
Mark Harrah
4e208b0250
fix displaying non-ResolvedReferences in relativeShow
2011-10-01 14:40:14 -04:00
Mark Harrah
ba70e9d604
fix time at which task session state gets cleared
2011-09-24 21:18:24 -04:00
Mark Harrah
2a21a86f8c
move from TaskData to new system
2011-09-21 22:54:46 -04:00
Mark Harrah
5918c24722
Task state.
...
* Allow tasks to provide State transformations that are applied after all tasks complete.
* Provide convenience methods for preserving state across invocations.
* Option of session or persisted state.
2011-09-21 22:54:46 -04:00
Mark Harrah
5420a48a87
on-load message customizable, more specific message for plugin projects
2011-09-03 17:30:37 -04:00
Mark Harrah
6ea27e893b
handle Scala version better in 'about' command
2011-08-18 08:23:43 -04:00
Mark Harrah
d36e02ea22
allow setting initialization to be partially dynamic and run in parallel
2011-08-14 10:53:37 -04:00
Mark Harrah
90f25b234e
Settings overhaul, intended to be source compatible where it matters.
...
Moves many methods previously provided by implicit conversions directly onto the classes
for better discoverability, especially with scaladoc.
1. Initialize now allowed in more places. Minor renamings in Initialize to avoid conflicts
a. map -> apply
b. get -> evaluate
2. Identity on Scoped* is deprecated- it is now redundant
3. Can now use += and <+= for String, Int, Long, Double settings.
There may be some problematic corner cases in inference, especially with +=, ++, <+=, <++=
4. Some classes with a scoped: ScopedKey[T] method now have scopedKey: ScopedKey[T] instead.
5. The implicit conversion to ScopedKey[T] is now deprecated. Use the scopedKey method.
6. :== and ::= are now private[sbt] to better reflect that they were internal use only.
2011-08-14 10:53:37 -04:00
Mark Harrah
a19d5a799c
try out simplified display of scoped keys
2011-08-04 07:20:25 -04:00
Mark Harrah
30baf74169
improved global logging and 'last' command
2011-07-24 17:36:42 -04:00
Mark Harrah
2d4d27e529
add 'about' command with sbt versions and Scala versions
2011-07-24 17:36:42 -04:00
Mark Harrah
109326d34b
additional warning when ignoring project load failure
2011-07-24 17:36:42 -04:00
Mark Harrah
f0a9305ba2
clean up graphSettings
2011-07-23 23:07:54 -04:00
Mark Harrah
b956b62c89
use name setting when displaying updated project
2011-07-17 11:26:27 -04:00
Mark Harrah
f7cb85d36e
restrict discarding session settings error message to direct load/reload. fixes #99
2011-07-12 23:09:57 -04:00
Mark Harrah
2e99fde9d2
overrideConfigs method for easier configuration substitution
...
ref #42
2011-07-09 16:54:41 -04:00
Mark Harrah
b096d1b175
global settings preparation: separate compilation/loading stages of Eval
2011-07-09 16:54:41 -04:00
Mark Harrah
d7a35e8e1d
minor rearranging of rootProject
2011-07-06 07:30:47 -04:00
Mark Harrah
205a67e4a3
warn when reload discards session settings
2011-06-27 22:29:48 -04:00
Mark Harrah
f7068a4cbb
introduce file-mappings for File->File, Extracted.append for reloading with additional settings
2011-06-26 12:27:06 -04:00
Mark Harrah
18a3e7995e
add new ProjectReference called LocalRootProject for referencing the root project in the current build
2011-06-23 20:37:56 -04:00
Mark Harrah
50fd30a695
ProjectDefinition.toString
2011-06-15 19:09:31 -04:00
Mark Harrah
1248830e2c
fix 'inspect' not showing setting value
2011-06-15 19:08:49 -04:00
Mark Harrah
0fa5b85736
fix ProjectDefinition.equals not considering base directory, ref #54
2011-06-15 19:08:49 -04:00
Mark Harrah
3c775416b4
make settings parameter for ProjectDef call-by-name
2011-06-14 19:31:54 -04:00
Mark Harrah
8e4192b144
show type in output of 'inspect'
2011-06-14 19:31:54 -04:00
Mark Harrah
be1bdbb350
use current project's logLevel for command logging
2011-06-10 23:40:25 -04:00
Mark Harrah
9a914bea4b
minor improvements to running tasks from console-project
2011-05-25 22:44:22 -04:00
Mark Harrah
babf642dfc
speed up startup
2011-05-02 20:43:19 -04:00
Mark Harrah
515386d973
load/unload hooks
2011-04-26 21:19:56 -04:00
Mark Harrah
daa58adc85
work on parser error handling
2011-04-25 20:20:05 -04:00
Mark Harrah
30e454af0a
tab complete main classes, trigger auto-detection tasks on compilation
2011-04-23 13:17:21 -04:00