Commit Graph

247 Commits

Author SHA1 Message Date
Mark Harrah 159a3fe8f3 credentials and patterns for resolvers 2011-04-05 18:44:47 -04:00
Mark Harrah f2270262d2 ScopedTask[t] -> ScopedKey[Task[t]] implicit 2011-04-05 07:10:28 -04:00
Mark Harrah a1c3ffb376 add 'initialize' setting 2011-04-04 21:22:19 -04:00
Mark Harrah 15f490c625 fix input tasks not being keyed & not showing up in failed task list 2011-04-04 19:10:35 -04:00
Mark Harrah a750c1563f Java/Scala compilation order support 2011-04-03 22:12:51 -04:00
Mark Harrah a5f3e1b839 clean up build definition exceptions and messages 2011-04-03 22:12:51 -04:00
Mark Harrah 8059b1a164 ability write graph of settings dependencies to dot format 2011-04-01 21:08:08 -04:00
Mark Harrah db5019a178 include publish-to resolver in other-resolvers 2011-04-01 21:06:49 -04:00
Mark Harrah d79fa21348 fix publish patterns for maven style publishing 2011-04-01 21:06:07 -04:00
Mark Harrah 2b37df87b5 'inspect actual <key>' for actual dependencies, 'inspect <key>' for declared 2011-03-29 20:53:21 -04:00
Mark Harrah 4821f16eb3 scalaVersion in GlobalScope, delegates test 2011-03-28 22:29:35 -04:00
Mark Harrah 496cd05de8 run-main for specifying main class to run 2011-03-28 17:19:12 -04:00
Mark Harrah 2ab8f5c3c0 fixes to 'inspect' delegates and provided by outputs 2011-03-25 22:01:21 -04:00
Mark Harrah aa395583b5 provide access to per-build and build-global keys from command line
[build-uri]/key for per-build
*/key for build-global
2011-03-25 21:42:04 -04:00
Mark Harrah 135609e5b0 temporary hack to avoid reading Analysis every compile 2011-03-25 21:37:17 -04:00
Mark Harrah dd012099d2 include 'bundle' packaging type on classpath in addition to 'jar' 2011-03-25 18:25:52 -04:00
Mark Harrah cc1e02f6a3 allow unqualified 'test', no longer requiring 'test:test' 2011-03-25 18:24:45 -04:00
Mark Harrah e498b9bd3a tab completion fixes and cleanup 2011-03-24 21:28:02 -04:00
Mark Harrah 07dbba65d1 memoize aggregation, cleanup 2011-03-23 07:06:51 -04:00
Mark Harrah 8c0d441fec clean up Ivy-related logging 2011-03-22 20:53:33 -04:00
Mark Harrah e0b453225e logging for packaging 2011-03-22 20:42:21 -04:00
Mark Harrah 0123351a8f initially only display originating task failures only 2011-03-21 20:50:20 -04:00
Mark Harrah 1de086755b command logging through Streams, 'last' without a key to redisplay it 2011-03-21 20:26:04 -04:00
Mark Harrah f34c3b5837 some renamings and removals suggested by Heiko
clarify command-related members of State:
  processors -> definedCommands
  commands -> remainingCommands
drop some Extracted members:
  curi replaced by currentRef.build
  cid replaced by currentRef.project
2011-03-21 17:56:41 -04:00
Mark Harrah caee48130e split out SessionSettings from Project.scala 2011-03-21 17:56:24 -04:00
Mark Harrah 63b1c3441b work on displaying task errors 2011-03-20 22:54:01 -04:00
Mark Harrah 7b4c16f294 cleanup 2011-03-19 23:22:18 -04:00
Mark Harrah 4ce57596d9 fix exit code 2011-03-19 14:07:03 -04:00
Mark Harrah 50f1bd73d6 add convenience method for evaluating tasks 2011-03-19 00:04:37 -04:00
Mark Harrah 7c7af7c998 use 'distinct' for State.++ to ensure commands are not duplicated 2011-03-19 00:04:07 -04:00
Mark Harrah 6215819890 'update' caching now takes into account whether jars still exist 2011-03-17 21:29:35 -04:00
Mark Harrah afbd23e9f3 global plugin configuration in ~/.sbt/plugins/
just like <base>/project/plugins/ but included in all projects
2011-03-16 22:22:46 -04:00
Mark Harrah 37e24daebf use stable ordering for PathFinder.getFiles 2011-03-16 22:22:20 -04:00
Mark Harrah 15e785a1e4 more stable managed classpath ordering 2011-03-16 22:21:02 -04:00
Mark Harrah ac280e5fe7 if sbtPlugin is true, sbt dependency and resolver are added 2011-03-16 20:09:59 -04:00
Mark Harrah 4a8e79befb retrieve to build, update-classifiers action
set retrieve := true to have dependencies retrieved to the build
the location is by default shared by all projects in a build
  (<built-root>/lib_managed/), but can be per-project
update-classifiers and update-sbt-classifiers retrieves artifacts with classifiers
  for project dependencies and for sbt, respectively
The default setting is classifiers := Seq("javadoc", "sources")
2011-03-15 22:12:59 -04:00
Mark Harrah 09b36a4476 make global scope explicit in command-retrieval 2011-03-13 21:42:44 -04:00
Mark Harrah 787f00985b detailed UpdateReport replaces Map[String,Seq[File]]
the information included is:
  configuration -> module -> artifact -> file
2011-03-13 21:40:49 -04:00
Mark Harrah 26d834e926 binary plugin auto-detection 2011-03-13 21:38:05 -04:00
Mark Harrah 8da0f1705e Plugin auto-settings empty by default 2011-03-13 21:33:28 -04:00
Mark Harrah d371ff9314 more consistent configuration of the Ivy user directory 2011-03-12 10:28:53 -05:00
Mark Harrah f18241395b 'reload plugins' to change to plugins project
'reload return' to change back to original project.
Declaring a plugin:
> reload plugins
> set libraryDependencies += ...
> reload return
2011-03-11 22:33:30 -05:00
Mark Harrah c0c287d50e reintegrate history commands, add proper parsing for recursive commands 2011-03-11 16:52:44 -05:00
Mark Harrah 77092b7888 resolver keys, javaHome, scalaHome, and change Java source resolution
- rename resolvers to fullResolvers, baseResolvers to resolvers
- if set, use javaHome for compilation as well as running
- add scalaHome configuration for easily configuring scalaInstance
   for a local Scala installation
- no longer require source roots for Java sources.  Instead, resolve
   ambiguities by package name and then distance to root.  Common
   package suffixes in different directories within the same project
   are a potential problem.
2011-03-09 18:07:43 -05:00
Mark Harrah fc32a31abf Merge branch '0.9' of github.com:harrah/xsbt into 0.9 2011-03-08 17:53:43 -05:00
Mark Harrah 37f793be6e make ClasspathOptions configurable 2011-03-08 17:50:19 -05:00
Mark Harrah ea188e74cc success indication and timestamps for actions 2011-03-06 21:57:31 -05:00
Mark Harrah a680dc2336 fix tests 2011-03-06 15:32:06 -05:00
Mark Harrah f6fe55f57c space adjustments for alias-related parsers 2011-03-06 08:32:51 -05:00
Mark Harrah 3a85bd47d6 restore missing piece of alias body that prevents looping 2011-03-06 08:21:16 -05:00