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