Mark Harrah
5fbe6e9d97
more flexible inter-project dependencies
2011-10-26 19:35:29 -04:00
Indrajit Raychaudhuri
289dc17c9b
Initialize project version to SNAPSHOT
2011-10-20 10:21:29 +05:30
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
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
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
794f87d0b9
generalize classpath argument of consoleTask to ScopedTask
2011-10-03 09:58:37 -04:00
Mark Harrah
7702d30f40
generalize addArtifact arguments to Initialize[...]. fixes #207
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
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
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
Indrajit Raychaudhuri
ebb16bc9a3
Deprecate `scaladocOptions` in favor of `scalacOptions in doc`
2011-09-13 03:39:48 +05:30
Indrajit Raychaudhuri
450fa15c0e
Expose snapshot flag via standard `SettingKey`
2011-09-09 18:35:57 +05:30
Mark Harrah
370145994f
Revert modifying publishMavenStyle based on sbtPlugin.
2011-09-04 13:33:40 -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
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
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
febe7e56e1
fix binary dependency recompilation problem introduced by fix for #108
2011-08-27 11:54:16 -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
d36e02ea22
allow setting initialization to be partially dynamic and run in parallel
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
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
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
a19d5a799c
try out simplified display of scoped keys
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
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
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
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
6acbbb05a3
support configuring checksums differently for publish, publish-local, update, and update-sbt-classifiers. fixes #115
2011-07-21 22:03:56 -04:00
Mark Harrah
bf8b577e4f
proper resolvedScoped implementation
2011-07-19 21:29:05 -04:00
Mark Harrah
3f0644d136
use launcher repositories for update-sbt-classifiers. fixes #88
2011-07-19 21:29:05 -04:00
Mark Harrah
bcc3e12abc
use 'scalaVersion in update' for cross building, IvyScala.substituteCross for generality. fixes #86
...
also, 'scalaVersion in artifactName` for the version to append to artifacts
2011-07-17 11:26:27 -04:00
Mark Harrah
0ea418e985
provide better indication of cause of incompatible sbt versions
2011-07-16 12:53:29 -04:00
Mark Harrah
b29380de96
add default identity load/unload transformations
2011-07-15 15:48:36 -04:00
Mark Harrah
dcedc57ad7
better default transitiveClassifiers for update-sbt-classifiers
2011-07-13 18:08:29 -04:00
Mark Harrah
ed20823886
cleanup
2011-07-13 18:08:29 -04:00
Mark Harrah
3eef6229db
show test key in no tests message. fixes #102
2011-07-12 23:09:57 -04:00
Mark Harrah
2e99fde9d2
overrideConfigs method for easier configuration substitution
...
ref #42
2011-07-09 16:54:41 -04:00
Mark Harrah
9737a30a7d
global settings. closes #52
2011-07-09 16:54:41 -04:00
Mark Harrah
b096d1b175
global settings preparation: separate compilation/loading stages of Eval
2011-07-09 16:54:41 -04:00
Mark Harrah
1d792c3601
warn when there is an sbt version conflict. fixes #80
2011-07-08 21:54:59 -04:00
Mark Harrah
467f6bc486
scope transitiveClassifiers by the update*classifiers task using it
2011-07-07 22:04:28 -04:00
Mark Harrah
aebde6b3e6
move dependency mapping to IvySbt#Module
2011-07-06 07:30:47 -04:00
Mark Harrah
9fb6f20177
declare sbt dependency for plugins to be in Provided, ref #80
2011-07-03 15:44:53 -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
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
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
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
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
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
3de6a0735f
fix packaging
2011-06-01 02:19:46 -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
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
7d08bfe3ca
add specs2 to list of known test frameworks
2011-05-29 19:17:31 -04:00