Commit Graph

20 Commits

Author SHA1 Message Date
Mark Harrah ed902ea565 Proper isolation of build definition classes. Fixes #536, #511. 2012-08-30 16:37:56 -04:00
Mark Harrah 8908d0e93b attempt at better error message for linkage errors in plugins. fixes #483
Only catches linkage errors during static initialization of the plugin module,
but these are likely to be the most common.
2012-06-16 23:40:52 -04:00
Mark Harrah 4b724e1102 inline tasks, for internal use later 2012-05-19 18:20:20 -04:00
Mark Harrah 5ff33fad3e Second try at printing message when stack trace suppressed.
Problems:

  1. Without a message, users don't find 'last'
  2. Showing a message for every error clutters output.

This tries to address these issues by:

1. Only showing the message when other feedback has not been provided and
   'last' would not usually be helpful.  This will require ongoing tweaking.
   For now, all commands except 'compile' display the message.  'update' could
   omit the message as well, but perhaps knowing about 'last' might be
   useful there.

2. Including the exact command to show the output:
    last test:compile
   and not just
    last <task>

3. Highlighting the command in blue for visibility as an experiment.

Review by @ijuma and @retronym, please.
2012-05-19 18:20:19 -04:00
Mark Harrah f4c0a0d9a6 display relative key strings for incomplete tasks 2012-05-19 18:20:19 -04:00
Mark Harrah 6015d082aa use resolvers configured in plugin definition for update-sbt-classifiers. fixes #304. 2012-04-01 23:19:08 -04:00
Mark Harrah 5cfafdb648 provide list of task execution roots 2012-03-17 19:31:03 -04:00
Mark Harrah eb2ec8c781 concurrent execution restrictions 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 2cbc755856 cleanup, add regex for escape sequences to be used later 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 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 14bf0886c9 Revert "scalacOptions, javacOptions in Compile in project/plugins/ affect build definitions"
This reverts commit 5793a3c66cd47087562072b69fb21d262cbbd0bc in favor of migrating project/plugins/
  to project/, which makes project/ a proper project.

Conflicts:

	main/Load.scala
2011-09-03 14:59:34 -04:00
Mark Harrah d145fcc457 scalacOptions, javacOptions in Compile in project/plugins/ affect build definitions. fixes #166 2011-09-03 14:59:34 -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 4ae0ba6b57 more refactoring of special settings: input tasks. fixes #114 2011-07-21 22:03:56 -04:00
Mark Harrah bf8b577e4f proper resolvedScoped implementation 2011-07-19 21:29:05 -04:00
Mark Harrah f8183cc6f2 remove incomplete debugging 2011-07-19 21:29:05 -04:00
Mark Harrah e748a74eac spelling 2011-07-19 21:29:05 -04:00