Commit Graph

496 Commits

Author SHA1 Message Date
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
Mark Harrah 00c41ae59a include logging backing file in 'about' command output 2011-07-24 17:36:42 -04:00
Mark Harrah 30baf74169 improved global logging and 'last' command 2011-07-24 17:36:42 -04:00
Mark Harrah f654b03618 allow running last from load failure prompt 2011-07-24 17:36:42 -04:00
Mark Harrah 2d4d27e529 add 'about' command with sbt versions and Scala versions 2011-07-24 17:36:42 -04:00
Mark Harrah 109326d34b additional warning when ignoring project load failure 2011-07-24 17:36:42 -04:00
Mark Harrah a9315dbd49 Interpret empty string as retry on project load error. 2011-07-24 17:36:42 -04:00
Mark Harrah 2cacdff1f8 use sbt snapshots repository for -SNAPSHOT version 2011-07-24 17:36:41 -04:00
Mark Harrah 5903fb88a2 includes sbt, Scala version extra attributes in repository/cache patterns 2011-07-23 23:07:54 -04:00
Mark Harrah 71d306a2a2 always publish ivy files for sbt plugins 2011-07-23 23:07:54 -04:00
Mark Harrah cc10940813 use extra attributes for sbt, Scala version of sbt plugins 2011-07-23 23:07:54 -04:00
Mark Harrah f0a9305ba2 clean up graphSettings 2011-07-23 23:07:54 -04:00
Fred Dubois 4ffe240eca Support for readonly file ProjectRef
This allows using a project reference that points to a readonly
directory.

The use case for this is having sbt plugin projects on a network
share (readonly) that you can just point to. The plugin projects
get copied and built automatically, just like a git project
reference gets cloned and built.

This will ease plugin imcompatibilies between minor sbt versions,
avoiding to have to cross build plugins against all compatible sbt
versions.
2011-07-23 22:24:46 -04:00
Mark Harrah 4ae0ba6b57 more refactoring of special settings: input tasks. fixes #114 2011-07-21 22:03:56 -04:00