Commit Graph

69 Commits

Author SHA1 Message Date
Mark Harrah 20cdb2b75b TaskExtra superseded by package object 2010-09-21 22:31:35 -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 b16b0adc0f add sbt package object
for use from project definitions only-
 it is a top-level project
add dependency and repository builders
 cross-versioning will be a post-construction transformation
2010-09-21 22:24:24 -04:00
Mark Harrah e0ac454f65 tailrec annotation and shorten constant name in Watched 2010-09-21 22:02:26 -04:00
Mark Harrah 805e6c1338 remove original compiler test application 2010-09-21 22:00:37 -04:00
Mark Harrah d6a7401cd8 fix component name in main notice 2010-09-21 22:00:11 -04:00
Mark Harrah 108ecf59fa a demo Project type
multi-project incremental compilation
 and dependency management
'update' currently runs on every compile
built-in 'compile' command shadows 'compile' action
2010-09-17 22:17:10 -04:00
Mark Harrah 3db480c611 add ProjectExtra to TestProject 2010-09-17 22:13:11 -04:00
Mark Harrah 3a8235a614 raw Project vals are added as execution dependencies 2010-09-17 22:12:17 -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 7155b50ee0 Project subtype for evaluating tour3 2010-09-13 19:44:26 -04:00
Mark Harrah 15abc87c45 remove spurious unchecked warning 2010-09-13 19:42:40 -04:00
Mark Harrah 43d593e281 start of managed project support
does proper inter-project resolution
still needs proper scope/configuration setup
2010-09-12 23:16:07 -04:00
Mark Harrah c2a9a95baf redo external projects
move externals from State to ProjectInfo
2010-09-12 22:58:22 -04:00
Mark Harrah e3d39175d4 add console-project tasks to Project 2010-09-12 22:49:33 -04:00
Mark Harrah 129f1e152d remove comment that no longer applies 2010-09-12 22:44:33 -04:00
Mark Harrah fce5330464 use Incomplete.show for displaying task failures 2010-09-12 22:43:42 -04:00
Mark Harrah 179634a019 some more ways to create a Console 2010-09-12 22:42:18 -04:00
Mark Harrah 1d1aa6b1b5 integrate logging, subprojects 2010-09-08 14:46:14 -04:00
Mark Harrah e80de34a6e split out extra tasks, implement logging 2010-09-08 14:45:22 -04:00
Mark Harrah a5ac661115 make project history-enabled 2010-09-08 14:44:04 -04:00
Mark Harrah 7b64a8f526 project navigation changes
projectClosure takes State
save initial project in State
2010-09-08 14:40:24 -04:00
Mark Harrah 0c12c5e2bd merge ProjectContainer into Project, rearrange sub project methods 2010-09-06 00:15:20 -04:00
Mark Harrah 323115e263 register loadp, ~, -- commands 2010-09-06 00:13:59 -04:00
Mark Harrah 67682f32d3 implement ~ 2010-09-06 00:13:53 -04:00
Mark Harrah 018ef2b3c7 add failure wall command '--' 2010-09-05 11:16:53 -04:00
Mark Harrah 6b4844094a project loading 2010-09-05 11:12:44 -04:00
Mark Harrah cc4fc95dba add generic attribute map to State 2010-09-05 10:56:24 -04:00
Mark Harrah fec83c1470 fix help for 'compile' 2010-09-05 10:49:49 -04:00
Mark Harrah 502f355a65 convenience methods for compilation 2010-09-04 08:46:36 -04:00
Mark Harrah 0caa00da64 update DotGraph for 0.9 2010-09-04 08:46:19 -04:00
Mark Harrah 61c855ddc6 working towards using Logger 2010-09-04 08:46:00 -04:00
Mark Harrah 8f1768d6a8 add Logger to Streams 2010-09-04 08:45:34 -04:00
Mark Harrah caa655ae06 add owner name function to context 2010-09-04 08:44:21 -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 8c02f9f478 rename Compile member to avoid conflict with pending change 2010-09-04 08:25:34 -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 9bcd68d28c rework REPL support
allow bindings, which requires specifying the parent class loader
same code can be used for both 'console' and 'console-project' now
provide interface through main/Console
2010-09-04 08:18:06 -04:00
Mark Harrah b4eea78959 cleanup 2010-09-04 08:07:51 -04:00
Mark Harrah 0c59e9d5a6 minor updates for p2 2010-08-30 09:10:25 -04:00
Mark Harrah 62691e6681 cross-configurations 2010-08-27 19:17:03 -04:00
Mark Harrah 1949fe903c Fix issue with lost task names 2010-08-21 22:52:18 -04:00
Mark Harrah 79103857c9 add SingleProject
a small trait to use for declaring single projects
using the standard task system
2010-08-14 10:52:46 -04:00
Mark Harrah 23bf3e55c7 merge two Tasked methods
In practice, the returned task is coupled to the conversion function,
so task and taskToNode were merged.  Also, renamed 'task' to 'act'.
2010-08-14 09:50:22 -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 fe224479bc small cleanups to exception handling 2010-08-10 08:46:27 -04:00
Mark Harrah 39839f2c16 change from user commands extending Command directly to providing CommandDefinitions instance that creates commands 2010-08-10 08:44:34 -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