Commit Graph

407 Commits

Author SHA1 Message Date
Mark Harrah 37c5062d2d don't drop session settings during cross build 2011-06-27 22:29:48 -04:00
Mark Harrah 205a67e4a3 warn when reload discards session settings 2011-06-27 22:29:48 -04:00
Mark Harrah 5b1ca2c6b0 drop SessionSettings.prepend, which wasn't used 2011-06-27 22:29:48 -04:00
Simon Olofsson f05cbf00b2 Recover when gitRetrieve(.) fails.
When gitRetrieve(.) fails (e.g. because no git is installed) an
exception is thrown but the created directory isn't removed. This commit
removes the directory when an exception occurs, so that the user can
retry.
2011-06-27 16:45:22 +02:00
Mark Harrah f7068a4cbb introduce file-mappings for File->File, Extracted.append for reloading with additional settings 2011-06-26 12:27:06 -04:00
Mark Harrah 48940bf23c Merge pull request #74 from duboisf/issue_68
Added JavacLogger, closes #68
2011-06-25 06:59:57 -07:00
Fred Dubois 2f4be49cf6 Added JavacLogger, for issue #68
- JavacLogger.msgs uses ListBuffer for constant time append
- Synchronized access to JavacLogger.msgs since appends comes from multiple
  threads
- JavacLogger.info uses Level.Info instead of Level.Debug
- Wrapped call to javac in allCatch to guarantee logger being flushed
2011-06-25 09:55:23 -04:00
Mark Harrah e73ebda27d fix accumulation of loggers in tests. allows custom test configurations to extend Test 2011-06-25 09:37:55 -04:00
Mark Harrah 1307292256 put exclude_classifiers in target/ of the root project. fixes #70. 2011-06-23 20:37:57 -04:00
Mark Harrah 18a3e7995e add new ProjectReference called LocalRootProject for referencing the root project in the current build 2011-06-23 20:37:56 -04:00
Mark Harrah e5fbfdd3c1 Resolve References in plugins 2011-06-23 20:37:56 -04:00
Mark Harrah b867d2e398 add method noTestCompletion() for disabling test name completion. ref #66 2011-06-23 20:37:56 -04:00
Mark Harrah c919a9c3fd cache calls to definesClass within a run. closes #67 2011-06-22 19:17:10 -04:00
Mark Harrah 738e32b9c6 add extraLoggers to make it easier to add loggers 2011-06-22 19:17:10 -04:00
Mark Harrah 5d0cdc8de4 use ivyConfigurations for interDependencies instead of scope configurations 2011-06-22 19:17:10 -04:00
Mark Harrah d0e072aa14 fix dependsOn not propagating failures in dependencies 2011-06-22 19:17:10 -04:00
Mark Harrah 4921be04c8 add ChainedResolver(name: String, resolvers: Seq[Resolver]), closes #63 2011-06-20 15:25:23 -04:00
Mark Harrah c4ac9445e3 cache failing classifiers. fixes #46 2011-06-19 21:01:29 -04:00
Mark Harrah 4c770e8f27 annotate return type Seq[Setting[_]] for several methods in Defaults
works around issue with scalac:
[error] class file needed by Defaults is missing.
[error] reference type _$34 of (t: <?>)(ss: <?>)Seq[sbt.Project.Setting[_]] refers to nonexisting symbol.
2011-06-18 21:02:15 -04:00
Mark Harrah a028f8e6d7 fixes issue with inter-project resolution when project delegates are defined 2011-06-18 20:17:50 -04:00
Mark Harrah b8ba743e87 fix description of unmanagedBase 2011-06-18 14:55:32 -04:00
Mark Harrah 50fd30a695 ProjectDefinition.toString 2011-06-15 19:09:31 -04:00
Mark Harrah 1248830e2c fix 'inspect' not showing setting value 2011-06-15 19:08:49 -04:00
Mark Harrah 0fa5b85736 fix ProjectDefinition.equals not considering base directory, ref #54 2011-06-15 19:08:49 -04:00
Mark Harrah 09c05dea97 fix issue of duplicate fullClasspath entries from products and dependencyClasspath 2011-06-14 19:32:36 -04:00
Mark Harrah 62c580024d inter-project provided dependencies, closes #53 2011-06-14 19:32:36 -04:00
Mark Harrah 540f7df9e1 cleaning up artifact configurations 2011-06-14 19:32:36 -04:00
Mark Harrah 25edfc5eeb drop Incomplete task message, fixes #32 2011-06-14 19:31:55 -04:00
Mark Harrah 3c775416b4 make settings parameter for ProjectDef call-by-name 2011-06-14 19:31:54 -04:00
Mark Harrah 8e4192b144 show type in output of 'inspect' 2011-06-14 19:31:54 -04:00
Mark Harrah 9f5d219310 Define 'type' for builtin artifacts based on classifier 2011-06-12 21:32:52 -04:00
Mark Harrah cadee45e8f drop crossVersion after substitution for sbt dependency to avoid double cross-suffix, fixes #51 2011-06-12 21:32:52 -04:00
Mark Harrah 63857ddd16 add pomAllRepositories option to include module configuration resolvers in pom. closes #39 2011-06-12 21:32:51 -04:00
Mark Harrah b97eb58396 define type for artifacts looked up by update-classifiers, fixes #49 2011-06-11 20:09:15 -04:00
Mark Harrah be1bdbb350 use current project's logLevel for command logging 2011-06-10 23:40:25 -04:00
Mark Harrah 36d2394208 implements #41 2011-06-10 08:08:52 -04:00
Mark Harrah d64cd8e34d fixes #45 2011-06-10 08:08:52 -04:00
Mark Harrah 208cf12045 honor formatEnabled setting, fixes #48 2011-06-10 08:08:51 -04:00
Mark Harrah 6c5203f160 allow ~/.sbt/plugins/ to be built directly 2011-06-02 18:35:25 -04:00
Mark Harrah 3de6a0735f fix packaging 2011-06-01 02:19:46 -04:00
Mark Harrah c0a21c1524 implement shortcut for API equality checking, fixes #18 2011-06-01 02:19:46 -04:00
Mark Harrah d54a992c23 small change to compiling message 2011-05-31 18:37:07 -04:00
Mark Harrah 7733c57934 fix test-only behavior with no arguments 2011-05-31 18:37:07 -04:00
Mark Harrah 4945190eca rearrange products settings
1. enables exporting jar to classpath instead of class directory
2. starts to make post-processing class files easier
2011-05-31 18:37:07 -04:00
Mark Harrah e5443141b1 error handling adjustments, including showing failing task in red (for #29) 2011-05-30 22:10:01 -04:00
Mark Harrah 2432642571 Adjust ivyScala to not use build-level scalaVersion. fixes #28 2011-05-30 22:10:01 -04:00
Mark Harrah 1169e7790d fix test-only filtering 2011-05-30 17:49:39 -04:00
Mark Harrah 437a3f7f50 clean up incremental debugging messages 2011-05-29 19:17:31 -04:00
Mark Harrah a94247d1b6 more release-worthy compile message and analysis toString 2011-05-29 19:17:31 -04:00
Mark Harrah 7d08bfe3ca add specs2 to list of known test frameworks 2011-05-29 19:17:31 -04:00