Commit Graph

18 Commits

Author SHA1 Message Date
Mark Harrah b601804046 only write resulting Analysis back if compilation was performed 2010-10-30 15:44:36 -04:00
Mark Harrah 5f047f4439 remove out of date comment 2010-10-30 13:25:04 -04:00
Mark Harrah a3f1b9c22f fix tests, discovery
updated compile tests for new minimal AnalysisCallback
moved discovery to discovery/ subproject and updated for new approach
fixed discovery to only find public methods when searching for annotated definitions
extracting inherited definitions unimplemented in api/, so some discovery tests fail
moved discovery classes from sbt.inc package to sbt.compile
2010-10-06 08:24:13 -04:00
Mark Harrah ce068d7fbc Java source support
generate API for Java sources from class files (currently, uses reflection)
hook into partial recompilation process
2010-09-27 18:57:00 -04:00
Mark Harrah d6b21b9a96 small cleanup 2010-09-27 18:52:51 -04:00
Mark Harrah f3de1d728c fix printing sources 2010-09-23 10:29:25 -04:00
Mark Harrah 92df7fe3ee remove some explicitly constructed implicits no longer necessary with 2.8.1 2010-09-21 22:29:18 -04:00
Mark Harrah 0d5814e2b3 Rework external dependency tracking and multi-projects
Reduce AnalysisCallback interface:
  remove discovery
  simplify dependency notification methods
Use map of classpath entry to Analysis for locating
  source API for external dependencies
Handle classpath changes by locating class
  on classpath and either locating Analysis/Source
  as above or comparing Stamp.  This requires storing
  the class name of a binary dependency now.
Make this process aware of full classpath, including
  boot classpath
2010-09-17 21:59:43 -04:00
Mark Harrah bdcf0a7656 'project definitions' can get info about compilation
definition that has constructor with single parameter of
 type Compiled gets passed the compilation parameters and
 Analysis for compiling it
2010-09-04 08:27:07 -04:00
Mark Harrah 050f9db501 rework ConsoleLogger
can send output to a PrintWriter
control over color, still need custom formatter
replace IvyLogger with normal Logger
2010-09-04 08:24:26 -04:00
Mark Harrah e750de2c3b allow *, ** in paths and handle absolute paths for 'load' and related commands 2010-08-10 09:20:11 -04:00
Mark Harrah 1ee5af39d6 allow discovery on both modules/classes, not just one or the other 2010-08-10 09:19:37 -04:00
Mark Harrah 23bda55124 compile, discover, append commands 2010-08-04 19:51:12 -04:00
Mark Harrah 250a287079 fix source selection for load -project 2010-08-04 19:42:32 -04:00
Mark Harrah 7390876874 remove unnecessary default arguments from Build 2010-08-04 19:19:15 -04:00
Mark Harrah 767a1e47c1 adding more commands 2010-07-27 23:01:45 -04:00
Mark Harrah 9c2268e919 task running command 2010-07-19 12:38:42 -04:00
Mark Harrah d7b66458f2 first shot at general command/definition model 2010-07-17 12:07:41 -04:00