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
Mark Harrah
85a55c25bf
settle scala-library situation
2011-05-25 22:44:22 -04:00
Mark Harrah
46f1e9b4a7
put testOptions and testListeners in Global for more flexibility
2011-05-25 00:02:43 -04:00
Mark Harrah
50294c1519
support wildcards in test-only
2011-05-24 23:54:49 -04:00
Mark Harrah
e048c6d07e
fully configurable run task easier to create
2011-05-23 21:43:26 -04:00
Mark Harrah
17f243bf9c
make a few settings easier to override globally
2011-05-23 08:14:39 -04:00
Mark Harrah
b4597eb931
sbtVersion convenience setting
2011-05-21 13:51:13 -04:00
Mark Harrah
9439a737b8
make parallel execution configurable, fixes #22
2011-05-21 13:51:13 -04:00
Mark Harrah
49e4b11e23
fix managed resource directory location
2011-05-16 22:56:07 -04:00
Mark Harrah
69ed08eb4a
fix scope of crossScalaVersions
2011-05-16 22:56:07 -04:00
Mark Harrah
c427c3e503
use shorter name for repository
2011-05-16 22:56:07 -04:00
Mark Harrah
903690ce8c
don't handle threads/trap exit for user 'runTask' by default
2011-05-15 21:01:03 -04:00
Mark Harrah
c81a2f9d3c
insert externalResolvers between resolvers and fullResolvers
2011-05-14 18:21:41 -04:00
Mark Harrah
5c48ea2433
show stack traces for console* by default
2011-05-14 18:21:41 -04:00
Mark Harrah
2343a55bb9
replace Path with RichFile
2011-05-14 18:21:41 -04:00
Mark Harrah
ca405e9783
run task convenience constructors, (re)source generator hooks
2011-05-12 22:33:45 -04:00
Mark Harrah
6bd500bbe2
scope defaultExcludes uses by the referencing task
2011-05-07 22:02:06 -04:00
Mark Harrah
c8fe1a3c1d
buffered, separate loggers for each test
2011-05-07 22:02:06 -04:00
Mark Harrah
5e9b080fc8
fix artifact name to be normalized
2011-05-07 22:02:05 -04:00
Mark Harrah
5e9cc7ea5c
Add runtime classpaths
2011-05-02 20:41:47 -04:00
Mark Harrah
08c9d37053
Managed/unmanaged sources/resources, fixes triggered execution
2011-04-26 21:07:53 -04:00
Mark Harrah
8836b83ba3
support earlier launchers
2011-04-23 16:01:42 -04:00
Mark Harrah
30e454af0a
tab complete main classes, trigger auto-detection tasks on compilation
2011-04-23 13:17:21 -04:00
Mark Harrah
324c832dee
easier task data storage
2011-04-22 20:13:24 -04:00
Mark Harrah
41f1f849ec
default to flat mappings for resources/packaging
2011-04-21 21:39:18 -04:00
Mark Harrah
a601e8ea09
individual settings for make-pom-configuration
2011-04-21 21:39:18 -04:00
Mark Harrah
9e044d042d
include managed directory in clean
2011-04-20 18:31:51 -04:00
Mark Harrah
defd1ee0d4
Cache doc task
2011-04-20 18:31:10 -04:00
Mark Harrah
60eda4bb20
Implement optional/provided configurations, closes #8
2011-04-19 22:24:52 -04:00
Mark Harrah
02421e46f5
fix doubled cache when boot Ivy directory configured
2011-04-19 22:21:59 -04:00
Mark Harrah
6abab8e4b3
fix tab completion issue with test-only
2011-04-19 17:56:12 -04:00
Mark Harrah
b56701f37e
disable overrideScalaVersion when scalaHome is set
2011-04-16 20:18:16 -04:00
Mark Harrah
5806dbaab0
work on dependency management tests
2011-04-16 16:38:47 -04:00
Mark Harrah
7acfad0234
external* methods to use ivysettings.xml, ivy.xml, or pom.xml
2011-04-16 13:16:54 -04:00
Mark Harrah
818382766e
add Types.idFun to replace Predef.identity, replace a :== overload
...
idFun[T]: T => T instead of identity[T](t: T): T
doesn't require a new class file when used as a function value
replaced overloads of :== that assigned the Scoped reference on
the right to the Scoped on the left with <<= scoped.identity
2011-04-16 11:24:58 -04:00
Mark Harrah
fee9429b03
more work on dependency management tests
2011-04-16 11:22:10 -04:00
Mark Harrah
a15bd90309
artifact and cross-naming fixes/improvements
2011-04-15 20:13:38 -04:00
Mark Harrah
0b4d0e1062
inject sbt-managed Scala libraries into the UpdateReport
2011-04-15 18:32:20 -04:00
Mark Harrah
3e29126cbf
support checksum generation and checking, enable by default
2011-04-15 18:25:54 -04:00
Mark Harrah
7fb97c6353
fix Scala version transitively (by default)
2011-04-14 21:48:12 -04:00
Mark Harrah
6699539278
push artifact-classifier higher up in scope
2011-04-14 07:45:43 -04:00
Mark Harrah
5dcc1bc9bc
direct Artifact->File map, removing source patterns
...
build and publish main sources and docs by default
control built-in artifacts with 'publish-artifact'
// disable publishing docs
publishArtifact in (Compile,packageDoc) := false
// enable publishing test jar, docs, and sources
publishArtifact in Test := true
2011-04-14 07:32:42 -04:00
Mark Harrah
1c400db4d9
harden clean and IO.move
2011-04-12 23:10:36 -04:00
Mark Harrah
fe75bade98
continuations test for compiler plugin support
2011-04-12 22:58:32 -04:00
Mark Harrah
4d635e449f
split out cross target directory, preserve history during clean, fix credentials
2011-04-12 20:58:40 -04:00
Mark Harrah
4b70fe0921
auto-compiler plugins
2011-04-11 22:12:03 -04:00
Mark Harrah
673f9923ab
dependency filters, selecting/filtering UpdateReport
2011-04-10 16:22:48 -04:00
Mark Harrah
2f2e24c87d
cross building
...
+, ++ require a space
+ <command>
++ <scala-version> [command]
set scala versions in crossScalaVersions
2011-04-09 20:42:57 -04:00
Mark Harrah
8d06ba2d92
cleanup some sequencing settings in Defaults
2011-04-09 19:58:49 -04:00
Mark Harrah
50e453c70c
provide more convenient access to BuildStructure and all projects
2011-04-08 22:03:41 -04:00
Mark Harrah
1b147b4953
reorganize main
2011-04-08 19:15:13 -04:00
Mark Harrah
2a737690a8
allow Scala-level cyclic references between projects
...
this occurs legally when different dependencies go in
reverse directions, as with delegates
the direct arguments to Project.apply are now call-by-name
the modifying functions like 'aggregate' cannot be call-by-name
since they are varargs
2011-04-07 22:48:01 -04:00
Mark Harrah
dfb0a9ec8c
put remaining keys in Keys
2011-04-06 21:00:48 -04:00
Mark Harrah
5a67998490
options specific to each test task, consolidates streams to the right task
2011-04-06 20:55:30 -04:00
Mark Harrah
159a3fe8f3
credentials and patterns for resolvers
2011-04-05 18:44:47 -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
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
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
dd012099d2
include 'bundle' packaging type on classpath in addition to 'jar'
2011-03-25 18:25:52 -04:00
Mark Harrah
e498b9bd3a
tab completion fixes and cleanup
2011-03-24 21:28:02 -04:00
Mark Harrah
8c0d441fec
clean up Ivy-related logging
2011-03-22 20:53:33 -04:00
Mark Harrah
63b1c3441b
work on displaying task errors
2011-03-20 22:54:01 -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
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
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
d371ff9314
more consistent configuration of the Ivy user directory
2011-03-12 10:28:53 -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
15e40d4172
filename cleanup
2011-03-05 15:13:16 -05:00