Commit Graph

750 Commits

Author SHA1 Message Date
Mark Harrah a76d75bca6 more flexible scalac logging
the custom scalac Reporter now delegates to an instance of
  an sbt interface called xsbti.Reporter
handling compilation logging is now mainly done on the sbt-side of the
  compiler interface
the xsbti.Reporter interface provides access to richer information
  about errors and warnings, including source file, line, and offset
xsbti.Reporter can be implemented by users to get access to
  detailed information without needing to parse the logging output
the CompileFailed exception that is thrown when compilation fails now
  includes an array of the problems, providing detailed
  error and warning information that can, for example, be consumed
  by doing a mapFailure on 'compile' and using 'Compile.allProblems'
2010-10-23 16:34:22 -04:00
Mark Harrah 5ed8f3c042 improving incremental compilation
support lazy arguments in data type generator
SafeLazy implementation that explicitly clears the reference to the thunk
in API representation, drop synthetic modifier and merge deferred into abstract
handle cyclic structures in API generation, display, comparison, persistence
gzip compile cache file
bump to 2.8.1.RC3, project definition cleanup
fix main method detection to check for the right name
properly view inherited definitions
exclude constructors of ancestors
2010-10-22 21:55:16 -04:00
Artyom Olshevskiy 3c5d8ab29b support -J options when forking (#124) 2010-10-21 09:12:00 -04:00
Mark Harrah c87fae4465 preserve compatibility for TestCleanup and TestSetup 2010-10-09 15:19:06 -04:00
tbje ccb5141ae0 Allow specifying webdefault.xml for jetty. Useful on windows for fixing file locking issue. 2010-10-09 14:37:40 -04:00
Mark Harrah 1954977c98 make jetty-env test runnable 2010-10-09 14:37:08 -04:00
tbje 25bd1ebc03 Adding test for jetty-env.xml support in jetty. 2010-10-09 14:36:43 -04:00
Mark Harrah 9cea4b80b9 update servlet test to test Jetty 7.1.x 2010-10-09 14:35:31 -04:00
Mark Harrah a866df759d bump to Ivy 2.2.0 final 2010-10-09 14:34:28 -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 b6ff9d8661 2.8.1.RC2 2010-09-30 07:21:07 -04:00
Mark Harrah 8d1b1f89bf make running scripted tests slightly less painful
wildcard supported in test and group name
prints label of test being run
2010-09-28 21:45:59 -04:00
Mark Harrah 620c433498 disable check modified. need to verify it doesn't break -SNAPSHOT 2010-09-27 19:06:52 -04:00
Mark Harrah 585f98438a discovery, 'run', and separate out build Scala version 2010-09-27 19:05:21 -04:00
Mark Harrah b233cfb29f use default project when none discovered 2010-09-27 19:00:46 -04:00
Mark Harrah a033e1647a translate call to task-name to taskName 2010-09-27 19:00:22 -04:00
Mark Harrah df721ddf15 reintegrate support for sending commands over loopback 2010-09-27 18:59:35 -04:00
Mark Harrah d185e0aeb4 properly fail when a task fails 2010-09-27 18:59:14 -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 1e11ef13cd minor rework of main class selection 2010-09-27 18:52:13 -04:00
Mark Harrah 1917809617 add conversion from xsbti.Logger to sbt.Logger 2010-09-27 18:51:35 -04:00
Mark Harrah 2d535e25c8 add another Process constructor 2010-09-27 18:50:17 -04:00
Mark Harrah 5ab652f02d comment subprojects in project definition 2010-09-27 18:49:50 -04:00
Mark Harrah 4b43e070ca handle empty arguments case correctly 2010-09-27 18:49:13 -04:00
Mark Harrah a2300c7dc0 use default configurations 2010-09-27 18:48:46 -04:00
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