Commit Graph

5624 Commits

Author SHA1 Message Date
Mark Harrah 4164ad3529 fix detecting existence of default arguments 2010-09-27 18:48:12 -04:00
Mark Harrah 3c4e5c4f54 fix product tracking and handling of removed sources 2010-09-27 18:47:11 -04:00
Mark Harrah 540ab7e470 show detected API when debugging incremental 2010-09-27 18:41:34 -04:00
Mark Harrah 484c2ca3a5 discovery convenience method 2010-09-27 18:40:57 -04:00
Mark Harrah c4419140aa brought minimal scripted test framework back
updated source dependendency tests
will need to restore cross building
2010-09-27 18:39:14 -04:00
Mark Harrah 0f0e89af85 check that external project directory exists before trying to load it 2010-09-23 11:45:19 -04:00
Mark Harrah f3de1d728c fix printing sources 2010-09-23 10:29:25 -04:00
Mark Harrah 28f1eecbef changes to make latest preview easier 2010-09-23 09:21:39 -04:00
Mark Harrah 1567de67b2 fix update, default project supports triggered execution 2010-09-21 22:38:18 -04:00
Mark Harrah eed8dfdbab grab base inter-project dependencies from the ProjectInfo 2010-09-21 22:36:22 -04:00
Mark Harrah bedc288c91 actually throw the exception when name is not overridden instead of returning it as the name 2010-09-21 22:34:07 -04:00
Mark Harrah 87842346c6 rename compile command to avoid conflict with compile task 2010-09-21 22:32:54 -04:00
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 066e88e2e8 check for non-existing local file after retrieve
this is almost always an error condition, but we need
  to translate the null for a better error message
2010-09-21 22:26:04 -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 a630aed777 update to Scala 2.8.1.RC1, Ivy 2.2.0-rc1
use dependencies compiled against Scala 2.8.0
2010-09-21 22:09:08 -04:00
Mark Harrah 678628741a fix ProjectResolver to properly signal that it can't retrieve artifacts 2010-09-21 22:04:12 -04:00
Mark Harrah 5b181eea6e fix issue with quiet waiting in source watcher 2010-09-21 22:03:18 -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 7d8b94fdd2 reorganize Process implicits
split out Process implicits to ProcessExtra trait
give them unique names to avoid shadowing when used
2010-09-21 21:57:15 -04:00
Mark Harrah 5a13de4ff7 move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -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 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