Commit Graph

16 Commits

Author SHA1 Message Date
Eugene Yokota 4258189951 added scalariform 2014-05-01 12:50:07 -04:00
Paolo G. Giarrusso e5673f7426 Silence boring Eclipse warnings: catching all exceptions
Here I make explicit where catching all exceptions is intended.
Mark Harrah corrected one decision during review.
2013-01-22 09:05:15 -05:00
Grzegorz Kossakowski 6c5e4ae21c Follow source layout convention supported by Eclipse.
Moved source files so directory structure follow package
structure. That makes it possible to use Scala Eclipse plugin
with sbt's source code.
2012-12-07 10:27:08 -08:00
Mark Harrah 1f9433f175 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 4945534614 split command core to main/command/ 2012-01-29 14:36:27 -05:00
Mark Harrah 1578dcc46f missing import 2011-11-04 13:44:09 -04:00
Mark Harrah 30bdcf68d4 preserve IOException type when translating exceptions. fixes #253 2011-11-04 13:40:59 -04:00
Mark Harrah d1ad850a12 error handling adjustments, including showing failing task in red (for #29) 2011-05-30 22:10:01 -04:00
Mark Harrah 5409dd91d8 reorganize main 2011-04-08 19:15:13 -04:00
Mark Harrah c9f8d70ee5 command logging through Streams, 'last' without a key to redisplay it 2011-03-21 20:26:04 -04:00
Mark Harrah b1b53e115e first shot at general command/definition model 2010-07-17 12:07:41 -04:00
Mark Harrah 96c50975f2 * move Environment classes to util/env module
* move TrapExit, SelectMainClass to run module
* rearrange some compilation-related code
* Jetty-related code moved to web module
2010-07-14 19:24:50 -04:00
Mark Harrah 64b19286ee more reorganization, mostly IO. Also, move class file analyzer and history code to separate projects 2010-06-13 22:59:29 -04:00
Mark Harrah 1584f01de8 wideConvert lets the serious errors pass through, use it in Execute 2010-06-10 21:25:37 -04:00
Mark Harrah a293916e46 legal cleanup 2010-02-07 23:45:19 -05:00
Mark Harrah f83d59b8cc Initial xsbt commit 2009-08-16 14:29:08 -04:00