Commit Graph

809 Commits

Author SHA1 Message Date
Sanjin Sehic e4f809953f Implement resolver for subversion repositories
All subversion URIs have to be prefixed with 'svn:' to separate them
from URIs for other resolvers. For example, 'svn:https://server/repo'
can now be used.
2012-02-13 22:02:44 -05:00
Sanjin Sehic bc4443b408 Implement resolver for mercurial repositories
All mercurial URIs have to be prefixed with 'hg:' to separate them
from URIs for other resolvers. For example,
'hg:https://server/user/repo' can now be used.
2012-02-13 22:02:44 -05:00
Sanjin Sehic 972acc871a Allow retrieving of non-standard git URIs
Non-standard git URIs are ones that do not start with 'git:' nor end
with '.git'. An example of non-standard git URI is
'ssh://server/home/user/repo'.

The mechanism for specifying a non-standard git URI is done by
prefixing the whole URI with 'git:' to signify that it should be
handled with the git resolver. For example, non-standard git URIs like
'git:ssh://server/user/repo' and 'git:https://server/user/repo' can
now be used.
2012-02-13 22:02:44 -05:00
Sanjin Sehic 77626f5232 Optimize retrieving from git repositories
Instead of cloning from a remote git repository for each branch,
revision or tag separately, the git resolver locally clones only once
the remote git repository and then creates further local clones from
this local copy of the remote repository.

First, optimization, of course, is execution speed, because cloning
local repository is much faster than remote repository. Furthermore,
because git uses hard-linking when a clone of local repository is
created, the second optimization is in space consumption.

For example, if we have one project that uses
https://github.com/harrah/xsbt.git#v0.11.1 and second project that
uses https://github.com/harrah/xsbt.git#v0.11.2, in previous git
resolver implementation it would require two separate clones of the
remote git repository at https://github.com/harrah/xsbt.git. But, the
new git resolver requires only one clone of the remote git repository
and two local clones which take no space because of hard-linking.
2012-02-13 22:02:44 -05:00
Sanjin Sehic 942427bfa3 Extract local, remote, and git BuildLoader.Resolver from ResolveUnit 2012-02-13 22:02:44 -05:00
Mark Harrah dd51dbb999 cleanup 2012-02-13 22:02:44 -05:00
Eugene Vigdorchik 7cf1e3fe3c Remove artificial TaskKey. 2012-02-11 12:32:40 +04:00
Eugene Vigdorchik c6ea7ccd67 Remove unneeded validation. It would be really nice
if sbt allowed to show all paths in a DAG between 2 given vertices.
2012-02-10 13:26:06 +04:00
Eugene Vigdorchik 6c5d398608 Validate resolvers when making ivy configuration and publishing. 2012-02-10 13:17:25 +04:00
Mark Harrah baaf75b08a Merge pull request #361 from vigdorchik/add_ivy_force
Mirror ivy \'force\' attribute in sbt.
2012-02-08 06:43:02 -08:00
Mark Harrah bb765db6c2 drop compatibility framework definitions (dead anyway) 2012-02-07 21:56:37 -05:00
Eugene Vigdorchik be3ea741bc Mirror ivy \'force\' attribute in sbt. 2012-02-07 20:14:45 +04:00
Indrajit Raychaudhuri cc904b4d5d - Add default opt for javadoc
- Default credential file stays in `~/.sbt` now
2012-02-05 21:55:16 +05:30
Indrajit Raychaudhuri d54c520cb1 Make mapping task names more consistent, ref #317, credit @Atry 2012-02-05 21:55:15 +05:30
Mark Harrah 5fdbc86259 cleanup 2012-02-04 21:10:30 -05:00
Mark Harrah 410ba2afa9 API doc fixes 2012-02-04 21:10:30 -05:00
Eugene Vigdorchik 1fd1b7803c Add a test to check for keeping a selected url upon reload. 2012-02-04 21:10:30 -05:00
Eugene Vigdorchik 33ec1c419d Remember current URI + more tests. Review by @harrah 2012-02-02 17:15:14 +04:00
Eugene Vigdorchik 0dafd5ef26 Check for the case the project doesn't exist after reload. 2012-01-31 21:15:18 +04:00
Eugene Vigdorchik 8daa6d3279 Keep project selection upon reload. 2012-01-31 19:12:52 +04:00
Mark Harrah 482ff4978d Merge pull request #342 from vigdorchik/wip_sourcepos_eugenevigdorchik
Wip sourcepos eugenevigdorchik
2012-01-30 14:34:03 -08:00
Eugene Vigdorchik d1c799cd09 More cleanup. 2012-01-30 19:06:26 +04:00
Eugene Vigdorchik dc0a40c776 Change SourcePosition definition + minor cleanup. 2012-01-30 19:06:24 +04:00
Eugene Vigdorchik e40f735f6a Display sourcepos info when at least 1 pos known. 2012-01-30 19:06:22 +04:00
Eugene Vigdorchik 09ff0664a3 Add SourcePosition to setting. 2012-01-30 19:06:18 +04:00
Mark Harrah 98c98f9c26 split command core to main/command/ 2012-01-29 14:36:27 -05:00
Mark Harrah 26ec82ed73 Append instances for Set and Map 2012-01-27 21:09:11 -05:00
Mark Harrah f55d34f617 Add Path.allSubpaths and API documentation for mappers 2012-01-26 21:28:19 -05:00
Mark Harrah f092fb35c9 When *::main-class is set, use its value for run::main-class 2012-01-25 17:29:51 -05:00
Mark Harrah 7e71ab7c3d fix forward aggregation enabled check 2012-01-22 22:06:53 -05:00
Mark Harrah 5e155900da rework cross versioning to account for prerelease Scala versions 2012-01-22 22:06:53 -05:00
Mark Harrah 2255bd5a62 org.scala-tools.sbt -> org.scala-sbt and dropping scala-tools.org from defaults 2012-01-22 22:06:52 -05:00
Mark Harrah 3a0938878d clarify behavior of State.reload 2012-01-19 11:00:24 -05:00
Mark Harrah 58d6f34dd5 separate configuration of global plugins, staging, and settings directories. fixes #331
System propery sbt.global.plugins configures global plugins directory
  default: $sbt.global.base/plugins

System property sbt.global.staging configures global staging directory
  default: $sbt.global.base/staging

System property sbt.global.settings configures directory containing global .sbt files
  default: $sbt.global.base
2012-01-19 11:00:24 -05:00
Mark Harrah 6a7eb6c937 Merge branch 'parsing_changes' into 0.12 2012-01-15 13:09:41 -05:00
Mark Harrah d65d23bd99 make new plugin configuration style higher precedence than deprecated project/plugins/ style 2012-01-15 12:29:54 -05:00
Mark Harrah 64ffd20e15 cleanup deprecations for 0.12.0 2012-01-15 12:29:53 -05:00
Mark Harrah d146c7f84c cleanup cache-related code, aiming for unknown cause of #292 2012-01-15 12:29:53 -05:00
Mark Harrah a0300cd3b3 deprecate alternative project directory name '.sbt' 2012-01-15 12:29:53 -05:00
Mark Harrah 795b924f46 reimplement lighter support for controlling aggregation 2012-01-09 08:01:24 -05:00
Mark Harrah 82326cc899 new aggregation approach, still need exclusion mechanism 2012-01-09 08:01:24 -05:00
Mark Harrah ec48779829 moved task axis before the key 2012-01-09 08:00:29 -05:00
Mark Harrah 79bbe8f8a4 fix tab completion of new inspect variations 2012-01-09 08:00:29 -05:00
Mark Harrah fbe8630433 move calls to runExitHooks into the State.{reload,exit,reboot} commands. fixes #306 2011-12-16 08:21:54 -05:00
Mark Harrah 619b97d215 apply <module>* : command to apply State transformations defined by module names 2011-12-16 08:21:54 -05:00
Mark Harrah 5d398bc4a1 add native library support to 'console' and 'console-quick', fixes #305 2011-12-16 08:21:54 -05:00
Mark Harrah 967c3fe75a support https git URLs by default 2011-12-15 19:20:26 -05:00
Mark Harrah 38a529d037 handle multiple projects sharing a single base directory better by including project ID in cache directory path 2011-12-13 17:29:08 -05:00
Mark Harrah 7347e89f73 'set every <setting>' for overriding every definition of a key. fixes #154 2011-12-13 17:29:08 -05:00
Mark Harrah 454bc6095b show definitions and uses of a key (not a full scoped key, just a key) 2011-12-13 17:29:08 -05:00
Mark Harrah 9c87d078e3 InputTask.dependsOn, fixes #242 2011-12-13 17:29:08 -05:00
Mark Harrah 68027501f8 make ; a hard delimiter for multi-commands. fixes #270 2011-12-13 17:29:08 -05:00
Mark Harrah 2bb78c133f introduce {sbt,scala}BinaryVersion
by default assumes binary compatibility for incremental version bumps for sbt 0.12+ and Scala 2.10+
2011-12-13 17:15:05 -05:00
Mark Harrah 7a75acfe03 treat case differences differently 2011-12-13 17:15:05 -05:00
Mark Harrah 34a39740c7 don't suggest similar keys for strings with only 1 or 2 characters 2011-12-13 17:15:05 -05:00
Mark Harrah 426acdf3f9 correct default resolver order 2011-12-13 17:15:05 -05:00
Mark Harrah 5a5e230b61 put default boot commands into an overridable 'boot' command 2011-12-13 17:15:05 -05:00
Holden Karau 07fd9ab57e Increase the magic number for RichTaskableN and ApplyN 2011-12-13 12:30:06 -08:00
杨博 4a727bc9d3 Allow `ModuleID % Configuration` 2011-12-13 00:08:18 +08:00
Indrajit Raychaudhuri 859f569da0 Fix spelling: 'descendent' is now 'descendant', English ftw. Closes #293 2011-12-12 19:10:47 +05:30
杨博 3d4b96e2df Fix stack overflow when use Build.projects in a Project's settings. 2011-12-11 01:37:47 +08:00
Mark Harrah 91a136e5f6 Merge pull request #276 from eed3si9n/inspecttree
refactored scoped key manifest extraction to ScopedKeyData
2011-11-27 19:27:11 -08:00
Mark Harrah f3f4bea2d5 fixes #280. sort aggregate and classpath dependencies separately to keep cycle detection for them separate 2011-11-27 17:48:01 -05:00
e.e d3si9n 6d9aeb94e0 compressed map and getOrElse into if-else 2011-11-26 01:41:24 -05:00
e.e d3si9n 546e7d9bad refactored scoped key manifest extraction to ScopedKeyData 2011-11-23 19:53:20 -05:00
e.e d3si9n e85833b2de "inspect tree <key>" command
This is a slightly cleaned up version of sbt-inspectr. When "inspect
tree <key>" is called, SettingGraph case class is created recursively
along the dependencies, calling the similar code as "inspect" command's
Project.details. Graph object then renders it as an ascii tree.
2011-11-23 00:49:27 -05:00
Indrajit Raychaudhuri 7c0952a266 Tweak ReadDetailed message per suggestion 2011-11-23 04:12:31 +05:30
Indrajit Raychaudhuri 15177e92a2 Streamline and update help messages for built-in commands 2011-11-23 03:37:10 +05:30
Mark Harrah 62355c3e1e implement 'skip in update' 2011-11-21 22:40:10 -05:00
Mark Harrah b07bd3adaa show deprecation message for project/plugins/. fixes #272. 2011-11-21 22:37:58 -05:00
Mark Harrah 8743165d66 Adjust 'about' output because logging is now rotated. 2011-11-21 22:37:58 -05:00
Mark Harrah eb2ec8c781 concurrent execution restrictions 2011-11-19 23:56:30 -05:00
Mark Harrah f813256ced detect invalid project IDs 2011-11-19 23:56:30 -05:00
Indrajit Raychaudhuri f314225712 Remove deprecations 2011-11-10 15:41:16 +05:30
Indrajit Raychaudhuri e1e6b25d0c Honor maxErrors for compileInput
This uses a recently added technique (cf `TaskKey.local`) to introduce
local TaskKey and get around the nine parameter restriction.
2011-11-10 14:52:58 +05:30
Mark Harrah 03cd1ec3ab need to explicitly trim whitespace in semicolon separated commands now. fixes #261. 2011-11-09 18:30:35 -05:00
Indrajit Raychaudhuri ad7aede533 Enable Javadoc generation in `doc` task.
`docSetting` has been updated to do both Scaladoc and Javadoc. In
Scala/Java hybrid projects, the output docs are rebased to `scala`
or `java` sub-directory accordingly. But for pure scala or pure java
projects the subdirectories aren't added to becompliant with user
expectation as much as possible. We do hybrid mode iff both *.scala
and *.java files exist; other doc resources (package.html, *.jpg etc.)
don't influence the decision.
2011-11-09 17:49:54 +05:30
Mark Harrah bef997fe29 Merge pull request #258 from jsuereth/windows-git-fix2
Windows git fix
2011-11-07 12:39:16 -08:00
Josh Suereth 175f08e1e4 Stefan Zeiger's fixes to not NPE when checking for windows. Additional cleanup to put windows git-run checks in one function. 2011-11-07 07:38:25 -05:00
Josh Suereth c5e31645a3 Attempting to fix git forking in windows 2011-11-07 07:38:11 -05:00
Mark Harrah 4a4c424d20 fix mistakenly changed return type of State.setResult 2011-11-05 09:13:34 -04:00
Indrajit Raychaudhuri c42659318b javaOptions and javacOptions would be better off as Task (like scalacOptions) 2011-11-04 13:51:17 -04:00
Mark Harrah 301c981c99 reset default logging level to be DownloadOnly instead of quiet 2011-11-04 13:40:59 -04:00
Mark Harrah 8e9e4b22cd checksums configurable in [ivy] section. fixes #235 2011-11-04 13:40:59 -04:00
Mark Harrah b154468097 invalidate 'update' cache when 'update' cache of a dependency is invalidated, fixes #246 2011-10-30 18:40:01 -04:00
Mark Harrah 2805dbde8f track whether UpdateReport was cached or freshly generated 2011-10-30 18:39:47 -04:00
Mark Harrah 8c7efd02b4 API documentation for State 2011-10-30 18:39:18 -04:00
Mark Harrah fa8fb49cc3 clean up last/global logging
add history of actually executed commands
2011-10-30 18:39:18 -04:00
Mark Harrah 2cbc755856 cleanup, add regex for escape sequences to be used later 2011-10-30 18:39:18 -04:00
Mark Harrah 85ad0c023e clean up after temporary task directory 2011-10-30 18:39:18 -04:00
Mark Harrah 5fbe6e9d97 more flexible inter-project dependencies 2011-10-26 19:35:29 -04:00
Mark Harrah c2ebcba73b hook for more global build transformations 2011-10-26 19:35:29 -04:00
Indrajit Raychaudhuri fdb08ff846 Default set of opt-ins for convenience 2011-10-23 06:27:13 +05:30
Mark Harrah e3e23287af reorganize help, allow keys to be arguments to 'help' command 2011-10-20 22:59:31 -04:00
Mark Harrah 078b72ee48 Add help for 'show' command. Fixes #236. 2011-10-20 22:59:30 -04:00
Indrajit Raychaudhuri 289dc17c9b Initialize project version to SNAPSHOT 2011-10-20 10:21:29 +05:30
Mark Harrah bec7d3fb28 give builders access to resolved build before deciding if they are applicable 2011-10-18 22:49:09 -04:00
Mark Harrah 5fd3c1d2e5 task execution interruptible using ctrl+c. fixes #228,#229
- interrupts task execution only
- no further tasks scheduled
- existing tasks interrupted
- a task must terminate any other started threads when interrupted
- set cancelable to true to enable
- currently, 'run' properly terminates if the application properly
   terminates when interrupted
- 'console' does not, 'test' depends on the test framework

- also bundled: set connectInput to true to connect standard input to forked run
2011-10-18 22:43:25 -04:00
Mark Harrah 22b71b823a convenience method for running tasks in aggregate 2011-10-16 22:37:24 -04:00
Mark Harrah e16bf3f695 fix stray closing */ 2011-10-16 21:29:39 -04:00
Mark Harrah 5e37d8e585 brief API documentation on some core settings types 2011-10-16 20:20:45 -04:00
Mark Harrah 57b5b95ae3 Include plugins in update-sbt-classifiers. Fixes #138 2011-10-16 17:27:36 -04:00
Mark Harrah 1578341a10 add cleanupCommands setting to specify commands to run before interpreter exits. fixes #219 2011-10-16 17:27:36 -04:00
Mark Harrah fe172a4a1d Predef.error => sys.error 2011-10-16 17:27:36 -04:00
Mark Harrah 92fee61d46 remove remaining deprecated uses of identity 2011-10-16 17:27:36 -04:00
Mark Harrah ddd70fcc77 inject 'log' method to State as convenience for CommandSupport.logger 2011-10-16 17:27:36 -04:00
Mark Harrah 6ddeca12a2 merge Scoped{Setting,Task,Input} and {Setting,Task,Input}Key 2011-10-16 17:27:36 -04:00
Mark Harrah 09a87a3bc6 better default behavior for classpathConfiguration for external Ivy files. fixes #214 2011-10-05 18:14:32 -04:00
Mark Harrah e4848efcc8 store hashes of API instead of full API. fixes #21 2011-10-05 18:09:27 -04:00
Mark Harrah b6fc7ba0a7 generalized build loaders 2011-10-03 09:58:37 -04:00
Mark Harrah 794f87d0b9 generalize classpath argument of consoleTask to ScopedTask 2011-10-03 09:58:37 -04:00
Mark Harrah 1fa855e2e7 fixes #211. +/++ only clear scalaVersion/scalaHome in Global config+task. 2011-10-01 14:40:14 -04:00
Mark Harrah 2e38c8484b defer validation of ;-separated commands until individual command is run. fixes #201 2011-10-01 14:40:14 -04:00
Mark Harrah 7702d30f40 generalize addArtifact arguments to Initialize[...]. fixes #207 2011-10-01 14:40:14 -04:00
Mark Harrah d15504d970 local settings, sbt-package-private for now 2011-10-01 14:40:14 -04:00
Mark Harrah c9039a4d44 separate out generators for test builds 2011-10-01 14:40:14 -04:00
Mark Harrah 4e208b0250 fix displaying non-ResolvedReferences in relativeShow 2011-10-01 14:40:14 -04:00
Mark Harrah 230d15cc5b watch aggregated dependencies. fixes #206 2011-09-26 18:23:16 -04:00
Mark Harrah dc70cb7fb9 clean up Reduced 2011-09-26 08:20:08 -04:00
Mark Harrah 5ea02bf148 fix #204 2011-09-26 08:20:08 -04:00
Mark Harrah 9ad15672d5 fix laziness of parser failure messages 2011-09-26 08:20:07 -04:00
Mark Harrah ba70e9d604 fix time at which task session state gets cleared 2011-09-24 21:18:24 -04:00
Mark Harrah 2a21a86f8c move from TaskData to new system 2011-09-21 22:54:46 -04:00
Mark Harrah 5918c24722 Task state.
* Allow tasks to provide State transformations that are applied after all tasks complete.
* Provide convenience methods for preserving state across invocations.
* Option of session or persisted state.
2011-09-21 22:54:46 -04:00
Mark Harrah 541004419f provide consecutive tab press count for completion combinators 2011-09-20 20:51:47 -04:00
Mark Harrah dcea4f2293 make ComponentManager honor value of Ivy home provided by the launcher 2011-09-16 23:08:01 -04:00
Mark Harrah 66c24c9e59 Add standard manifest attributes before user options instead of after. Fixes #187 2011-09-16 22:04:56 -04:00
Mark Harrah de6f55952f allow watching and triggered messages to be customized 2011-09-16 22:04:56 -04:00
Mark Harrah babe8dbbdb conditionally initialize onLoad and onUnload. fixes #186 2011-09-16 22:04:56 -04:00
Mark Harrah 79131a60d1 sort output of 'projects' by name. fixes #182. 2011-09-13 22:56:55 -04:00
Mark Harrah 9d0cb47e0a force REPL startup to be synchronous. fixes #175. 2011-09-12 19:48:10 -04:00
Mark Harrah 516e89200b Add custom resolvers from global plugin project to project/. Fixes #177. 2011-09-12 19:48:10 -04:00
Indrajit Raychaudhuri ebb16bc9a3 Deprecate `scaladocOptions` in favor of `scalacOptions in doc` 2011-09-13 03:39:48 +05:30
Mark Harrah 1b0c619308 don't add _root_ to definitions in the empty package 2011-09-11 13:46:30 -04:00
Indrajit Raychaudhuri bd8d1c0698 Support for simple exclusion rules in inline dependencies
This support excluding a library from the dependency tree for a given
set of `ExclusionRule`s. There are two ways to achieve this:

- Using `organization` and `name` pairs:
val dep = "org" % "name" % "version" exclude("commons-codec", "commons-codec") exclude("org.slf4j", "slf4j-log4j")

- Using `ExclusionRule`:
val dep = "org" % "name" % "version" excludeAll(ExclusionRule("commons-codec", "commons-codec"), ExclusionRule("org.slf4j", "slf4j-log4j"))
2011-09-10 04:32:47 +05:30
Mark Harrah 0283ad2fc8 prefix automatic imports with _root_. Fixes #173. 2011-09-09 18:39:10 -04:00
Indrajit Raychaudhuri 450fa15c0e Expose snapshot flag via standard `SettingKey` 2011-09-09 18:35:57 +05:30
Mark Harrah f096d76cf6 'skip' description 2011-09-04 13:33:40 -04:00
Mark Harrah 370145994f Revert modifying publishMavenStyle based on sbtPlugin. 2011-09-04 13:33:40 -04:00
Mark Harrah b3291dc4ee Print names of Plugins on classpath in 'about' command. 2011-09-03 17:30:38 -04:00
Mark Harrah fc3ebb7436 don't interpret files with exact name '.sbt' as quick configurations 2011-09-03 17:30:38 -04:00
Mark Harrah 5420a48a87 on-load message customizable, more specific message for plugin projects 2011-09-03 17:30:37 -04:00
Mark Harrah 8938fc564e fix includeFilter in unmanagedJars reference 2011-09-03 17:30:37 -04:00
Mark Harrah 228b245d2d make filter changes more backwards compatible. ref #165 2011-09-03 14:59:34 -04:00
Mark Harrah 14bf0886c9 Revert "scalacOptions, javacOptions in Compile in project/plugins/ affect build definitions"
This reverts commit 5793a3c66cd47087562072b69fb21d262cbbd0bc in favor of migrating project/plugins/
  to project/, which makes project/ a proper project.

Conflicts:

	main/Load.scala
2011-09-03 14:59:34 -04:00
Mark Harrah a824aa97e5 migrate project/plugins/ contents to project/. fixes #166 2011-09-03 14:59:34 -04:00
Mark Harrah d145fcc457 scalacOptions, javacOptions in Compile in project/plugins/ affect build definitions. fixes #166 2011-09-03 14:59:34 -04:00
Mark Harrah f515a0e8b6 Merge pull request #165 from indrajitr/0.11
Externalize resourceFilter configuration
2011-09-03 07:51:46 -07:00
Indrajit Raychaudhuri 7f9adf31b8 Add start-year for compliance in ProjectInfo 2011-09-03 02:19:08 +05:30
Indrajit Raychaudhuri 5614243ce9 Make include and exclude filters more consistent in name and behavior.
GlobalScope has conservative default with task specific filters explicitly modified.
2011-09-03 02:09:25 +05:30
Mark Harrah 02f666ec0e miscellaneous fixes 2011-08-31 20:59:40 -04:00
Indrajit Raychaudhuri 434d7f2322 organizationName and organizationHomepage need not be set in GlobalScope 2011-08-31 20:34:40 +05:30
Mark Harrah 65ae7dab1c switch publishMavenStyle off when project is an sbt plugin 2011-08-30 09:16:33 -04:00
Mark Harrah 0c2cb33d7b Undeprecate conversions to ScopedKey 2011-08-28 13:30:11 -04:00
Mark Harrah 1471081c0d test to ensure correctness of local resolver+useOrigin in ivysettings.xml 2011-08-27 23:13:10 -04:00
Mark Harrah febe7e56e1 fix binary dependency recompilation problem introduced by fix for #108 2011-08-27 11:54:16 -04:00
Mark Harrah 565cd3802f fix dependsOn breakage from Initialize rework 2011-08-26 23:27:03 -04:00
Mark Harrah 039982ab1e better default for traces in run 2011-08-26 23:27:03 -04:00
Mark Harrah bf1d471118 rearrange watchSources construction to automatically add sources for new configurations 2011-08-26 23:27:03 -04:00
Mark Harrah faeb9e2fb1 Make 'package' an alias for 'package-bin'. Fixes #156 2011-08-23 19:53:33 -04:00
Mark Harrah 9ebf809259 test for separate configuration of doc sources 2011-08-23 19:51:51 -04:00
Mark Harrah 71a346bd4c support separate configuration of doc inputs 2011-08-22 22:48:35 -04:00
Mark Harrah 49b85384e7 use -Yrepl-sync for console-project to avoid deadlock on REPL startup in 2.9 2011-08-19 22:13:56 -04:00
Mark Harrah 6ea27e893b handle Scala version better in 'about' command 2011-08-18 08:23:43 -04:00
Mark Harrah d36e02ea22 allow setting initialization to be partially dynamic and run in parallel 2011-08-14 10:53:37 -04:00
Mark Harrah f7f6879f5e provide access to some project structure as a setting 2011-08-14 10:53:37 -04:00
Mark Harrah 18b57bb101 fix ++ command to not require a space after it 2011-08-14 10:53:37 -04:00
Mark Harrah 90f25b234e Settings overhaul, intended to be source compatible where it matters.
Moves many methods previously provided by implicit conversions directly onto the classes
  for better discoverability, especially with scaladoc.

1. Initialize now allowed in more places.  Minor renamings in Initialize to avoid conflicts
  a. map -> apply
  b. get -> evaluate
2. Identity on Scoped* is deprecated- it is now redundant
3. Can now use += and <+= for String, Int, Long, Double settings.
  There may be some problematic corner cases in inference, especially with +=, ++, <+=, <++=
4. Some classes with a scoped: ScopedKey[T] method now have scopedKey: ScopedKey[T] instead.
5. The implicit conversion to ScopedKey[T] is now deprecated.  Use the scopedKey method.
6. :== and ::= are now private[sbt] to better reflect that they were internal use only.
2011-08-14 10:53:37 -04:00
Josh Suereth 95b8c34627 Changed skip to be a Task so we can dynamically compute it's value based on a file 2011-08-12 13:30:21 -04:00
Indrajit Raychaudhuri b57e8cd17a Hava scaladocOptions in GlobalScope for consistency 2011-08-11 01:05:30 +05:30
Indrajit Raychaudhuri 952089bf92 Add well-known main manifest attributes by default for binary and source jars 2011-08-08 20:57:18 +05:30
Mark Harrah 10aa2d67c6 use sbt version in target path for sbt plugins 2011-08-05 21:59:49 -04:00
Mark Harrah 70dcae84ee preserve key+configuration ambiguity through task+extra parsing. fixes #135 2011-08-05 21:59:49 -04:00
Mark Harrah 1d4d566d6b support use of native libraries in 'run' and 'test' 2011-08-05 21:56:32 -04:00
Mark Harrah 29db8dbe8d include native libraries on unmanaged classpath 2011-08-05 21:56:32 -04:00
Mark Harrah 93801cd946 temporary directory for use by tasks that will be cleaned up after task execution 2011-08-05 21:56:32 -04:00
Mark Harrah f065037572 onComplete hook for cleanup after task execution 2011-08-05 21:56:32 -04:00
Indrajit Raychaudhuri bb75b74eb6 Remove some deprecations and redundant code 2011-08-05 13:30:04 +05:30
Mark Harrah 980e906ca1 handle custom -bootclasspath in incremental recompilation 2011-08-04 07:20:25 -04:00
Mark Harrah a19d5a799c try out simplified display of scoped keys 2011-08-04 07:20:25 -04:00
Mark Harrah 70113c88fa remove special case for display for 'compile' configuration 2011-08-04 07:20:25 -04:00
Indrajit Raychaudhuri 67102aadff - Extra Settings are now available to control project information, viz., name, description, homepage, organization name, organization homepage, licenses
- Modified name/signature of some private types/methods to reduce confusion (all in limited scope, so nothing should change from end user's pov)
- Enriched Ivy and Maven descriptors produced out of the box (see Keys.scala and Defaults.scala for more)
- Projects do not need to create custom Ivy <info/> block anymore, there is more settings-specific control instead
2011-08-03 08:49:46 +05:30
Mark Harrah e67b3be331 allow Defaults.packageTasks to be used in global configuration 2011-08-01 14:23:42 -04:00
Mark Harrah a6ef6481ac use configurations for modules for update-classifiers. fixes #104 2011-07-31 22:17:50 -04:00
Mark Harrah 93ac92fee7 artifact name should be moduleName by default, not normalized name 2011-07-31 16:50:39 -04:00
Mark Harrah f8d12c5106 Seq[Setting[_]] <=> SettingsDefinition 2011-07-30 18:11:20 -04:00
Mark Harrah d8362761de fix fullRun*Task not doing work. missed by compiler due to value discarding 2011-07-30 18:11:20 -04:00
Mark Harrah af6b420083 fix automatic artifact configuration selection for non-standard scope configurations 2011-07-29 23:33:10 -04:00
Mark Harrah 4305d94f5e add convenience methods for filtering settings and keys 2011-07-29 23:33:10 -04:00
Mark Harrah 3e9921a07a for undefined references, suggest the nearest defined scope that is more specific if it exists. fixes #135 2011-07-27 22:35:20 -04:00
Mark Harrah c195f943c0 aggregate 'last'. fixes #131 2011-07-27 19:50:59 -04:00
Mark Harrah a8fd017499 maven-compatible plugin dependency system 2011-07-27 19:50:59 -04:00
Mark Harrah e75628c81b make scalaInstance a task. fixes #127 2011-07-26 13:34:02 -04:00
Mark Harrah 73a10644d7 add 'skip' for manually overriding whether recompilation should occur. fixes #128 2011-07-26 13:34:01 -04:00
Michael Bayne 74ac135968 Fixed reversed logic in fix for #125. 2011-07-26 09:25:57 -07:00
Mark Harrah 021009052e don't print Uninitialized exception name 2011-07-25 21:59:22 -04:00
Mark Harrah eb31cc025a Allow multiple sources to target a target directory in sync.noDuplicateTargets. fixes #125 2011-07-25 21:38:01 -04:00
Mark Harrah 5d353b4113 lookup sbt version in 'update' to allow using binary plugins with nightlies 2011-07-25 21:38:01 -04:00
Mark Harrah 1c151d116a pull scoped key examples from references as well as definitions. ref #121
this should improve the keys available for completion, including globally defined keys
2011-07-24 22:35:27 -04:00
Mark Harrah a1dc17b2c6 allow task axis to be specified when the setting has no instances with it specified. fixes #121 2011-07-24 22:35:27 -04:00