Commit Graph

750 Commits

Author SHA1 Message Date
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 ce9db82771 fixes to API extraction phase
reverse the mapping of vals/vars to
  private[this] fields and accessors
merge annotations from related members
don't handle bean getters/setters specially
  because they are indistinguishable from
  user-defined members as far as I can tell
2010-09-17 22:14:48 -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 820a2b6851 remove discovery from Scala Analyzer phase 2010-09-17 21:38:03 -04:00
Mark Harrah 883cd1a201 remove discovery from Java Analyzer 2010-09-17 21:35:13 -04:00
Mark Harrah ccf9714b4d fixes for API extraction phase
correct order of value parameters of a method
preserve source order of members
more information for unknown type error message
2010-09-17 21:30:47 -04:00
Mark Harrah 4db2c1df6a merge Pkg into Private
this better represents the original source
2010-09-17 21:29:29 -04:00
Mark Harrah ec3a0ba375 Attributed, attaches attributes to arbitrary data 2010-09-17 20:46:31 -04:00
Mark Harrah fa10f1a614 relativize that takes File arguments 2010-09-17 20:28:36 -04:00
Mark Harrah da0444e5a3 task execution engine: fix addition of new tasks
dependencies of a task being added were filtered
  to remove already added ones all at once
however, as each new dependency is added, the
  'new' state of tasks could change
this fix checks and adds dependencies one at a time
2010-09-17 20:16:21 -04:00
Mark Harrah 47e9428144 TaskMap: memoizes task-producing functions 2010-09-17 19:41:20 -04:00
Mark Harrah 16d6ec7f94 remove plugins, integration project definition 2010-09-13 19:46:24 -04:00
Mark Harrah 7155b50ee0 Project subtype for evaluating tour3 2010-09-13 19:44:26 -04:00
Mark Harrah 1a122d380f allow setup, cleanup functions to access ClassLoader used for testing 2010-09-13 19:43:37 -04:00
Mark Harrah 15abc87c45 remove spurious unchecked warning 2010-09-13 19:42:40 -04:00
Mark Harrah aea757ed18 put ResolverAdapter.java in proper location 2010-09-13 19:42:11 -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 6deb83ded3 ProjectResolver for inter-project dependencies 2010-09-12 23:15:51 -04:00
Mark Harrah 82e53d2528 only filter Scala artifacts of type 'jar' 2010-09-12 23:14:55 -04:00
Mark Harrah 59e15f2c51 minor cleanup of some Ivy-related code 2010-09-12 23:14:30 -04:00
Mark Harrah 26265e549e add RawRepository to wrap raw Ivy Resolvers 2010-09-12 23:13:48 -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 df1774e02e remove a deprecated method 2010-09-12 22:41:49 -04:00
Mark Harrah 62b30c0156 shorten toString for task Info, correct it for Incomplete 2010-09-12 22:41:02 -04:00
Mark Harrah 5017e326c1 toString for HList and KList 2010-09-12 22:27:11 -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 be8b63cb38 fix implied transformation loop
'implied' state was not reset on transformed
 Task, so it was processed again (and again...)
2010-09-08 14:32:28 -04:00
Mark Harrah 1659e05213 more methods for changing Task 'implied' state
implied(flag: Boolean)
local
2010-09-08 14:31:14 -04:00
Mark Harrah cde1f57361 closeQuietly should be quiet 2010-09-08 14:30:27 -04:00
Mark Harrah bef61ab9fd correct order for IO.readLines 2010-09-08 14:29:38 -04:00
Mark Harrah b03b56ea2e hierarchical in-memory settings 2010-09-08 14:29:00 -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