Mark Harrah
1a8f4a9874
fix launch test
2010-08-21 22:47:26 -04:00
Mark Harrah
51518c8d90
eliminate overloading of #| between type classes
...
this allows function parameter type to be inferred for binary/text
and implicit conversions to ProcessBuilder to kick in
2010-08-21 22:45:50 -04:00
Mark Harrah
79103857c9
add SingleProject
...
a small trait to use for declaring single projects
using the standard task system
2010-08-14 10:52:46 -04:00
Mark Harrah
1fef28d812
a standard task system on top of the 'tasks' module
...
map, flatMap on single/parallel tasks
dependsOn for side-effect-only dependencies
variants to handle failure- operations similar to catch/finally
fork, join, reduce, ...
initial structure to handle tags, needs to be moved to generic map
per-task streams:
file-backed, named input/output streams and readers
keyed by task name
grab streams of current task or another task's streams
pipe between tasks, ProcessBuilders (partially unify tasks/processes)
access to command line, current State from any task
multi-project aggregation controllable per-task
open issue: overloading #| with multiple type classes does not work
2010-08-14 09:55:49 -04:00
Mark Harrah
23bf3e55c7
merge two Tasked methods
...
In practice, the returned task is coupled to the conversion function,
so task and taskToNode were merged. Also, renamed 'task' to 'act'.
2010-08-14 09:50:22 -04:00
Mark Harrah
6d0d3a1e4d
remove Rewrite
2010-08-14 09:49:28 -04:00
Mark Harrah
44c49ab531
remove Rewrite
2010-08-14 09:49:28 -04:00
Mark Harrah
714d21d865
add IO functions: InputStream -> File, BufferedReader -> List[String]
2010-08-14 09:48:46 -04:00
Mark Harrah
9520c6eae3
KList updates
...
add conversion from List[M[_]] to KList[M, HList]
required KList to be covariant in its HList parameter
2010-08-14 09:46:49 -04:00
Mark Harrah
1602dd2715
KList updates
...
add conversion from List[M[_]] to KList[M, HList]
required KList to be covariant in its HList parameter
2010-08-14 09:46:49 -04:00
Mark Harrah
bf2057f647
Fix issue with view being called multiple times for the same task (view -> viewCache)
2010-08-14 09:45:26 -04:00
Mark Harrah
dff30c036e
sbt and Scala classifiers can be configured in build.properties
...
The sbt.classifiers property sets the classifiers for sbt and
scala.classifiers sets it for Scala. Note that when creating a
project, Scala and sbt are retrieved right after project setup.
Changes to *.classifiers will only apply if project/boot is
removed or a new version of Scala is retrieved.
2010-08-11 18:50:44 -04:00
Mark Harrah
e750de2c3b
allow *, ** in paths and handle absolute paths for 'load' and related commands
2010-08-10 09:20:11 -04:00
Mark Harrah
1ee5af39d6
allow discovery on both modules/classes, not just one or the other
2010-08-10 09:19:37 -04:00
Mark Harrah
fe224479bc
small cleanups to exception handling
2010-08-10 08:46:27 -04:00
Mark Harrah
371a66bc3f
rm dead-end standard tasks
2010-08-10 08:45:36 -04:00
Mark Harrah
39839f2c16
change from user commands extending Command directly to providing CommandDefinitions instance that creates commands
2010-08-10 08:44:34 -04:00
Mark Harrah
3bc345ffe0
type alias A ~>| B for [T]A[T] => Option[B[T]]
2010-08-10 08:40:14 -04:00
Mark Harrah
32150e7097
type alias A ~>| B for [T]A[T] => Option[B[T]]
2010-08-10 08:40:14 -04:00
Mark Harrah
6cada88fb3
split out read-only RMap from PMap
2010-08-10 08:39:30 -04:00
Mark Harrah
14d1bc5282
split out read-only RMap from PMap
2010-08-10 08:39:30 -04:00
Mark Harrah
8caaabbdf4
Handle absolute paths passed to Path.fromString
2010-08-10 08:36:31 -04:00
Mark Harrah
d3f02f7c80
control incremental compiler debugging with xsbt.inc.debug system property
2010-08-10 08:35:26 -04:00
Mark Harrah
98cd577e1d
Configure jetty-env.xml. Allows specifying JNDI datasources. Inspired by maven-jetty-plugin.
...
Only takes effect when jettyEnvXml equals Some[File], by default None.
Tested with jrebel.
2010-08-04 20:33:50 -04:00
Mark Harrah
23bda55124
compile, discover, append commands
2010-08-04 19:51:12 -04:00
Mark Harrah
9c8cf4451d
remove call-by-name modifier for error function, doesn't work well
2010-08-04 19:48:48 -04:00
Mark Harrah
ab78c8791a
remove call-by-name modifier for error function, doesn't work well
2010-08-04 19:48:48 -04:00
Mark Harrah
250a287079
fix source selection for load -project
2010-08-04 19:42:32 -04:00
Mark Harrah
96df10aad2
ignore empty commands
2010-08-04 19:41:46 -04:00
Mark Harrah
758380979e
command error handling
2010-08-04 19:41:11 -04:00
Mark Harrah
7390876874
remove unnecessary default arguments from Build
2010-08-04 19:19:15 -04:00
Mark Harrah
fbb8db8132
adding more commands
2010-07-27 23:01:45 -04:00
Mark Harrah
767a1e47c1
adding more commands
2010-07-27 23:01:45 -04:00
Mark Harrah
8e255bc226
log start message for processor update
2010-07-22 12:17:59 -04:00
Mark Harrah
9c2268e919
task running command
2010-07-19 12:38:42 -04:00
Mark Harrah
665dae75e7
make JLine dependency optional for Logger module
2010-07-19 12:33:41 -04:00
Mark Harrah
384924691b
unnecessary import in BufferedLogger
2010-07-19 12:32:13 -04:00
Mark Harrah
56b0b7592d
unnecessary import in BufferedLogger
2010-07-19 12:32:13 -04:00
Mark Harrah
1169493115
native type should be T => Option[O] not PartialFunction[T, O]
2010-07-19 12:31:22 -04:00
Mark Harrah
b1b53e115e
first shot at general command/definition model
2010-07-17 12:07:41 -04:00
Mark Harrah
d7b66458f2
first shot at general command/definition model
2010-07-17 12:07:41 -04:00
Mark Harrah
96c50975f2
* move Environment classes to util/env module
...
* move TrapExit, SelectMainClass to run module
* rearrange some compilation-related code
* Jetty-related code moved to web module
2010-07-14 19:24:50 -04:00
Mark Harrah
d0fa1eb461
* move Environment classes to util/env module
...
* move TrapExit, SelectMainClass to run module
* rearrange some compilation-related code
* Jetty-related code moved to web module
2010-07-14 19:24:50 -04:00
Mark Harrah
5cd6ef268c
- Stuart's improvements to triggered execution
...
- continue splitting original sbt module
* separated process, testing modules
* various IO, logging, classpath migration
* split out javac interface
2010-07-05 12:53:37 -04:00
Mark Harrah
6f3c699435
- Stuart's improvements to triggered execution
...
- continue splitting original sbt module
* separated process, testing modules
* various IO, logging, classpath migration
* split out javac interface
2010-07-05 12:53:37 -04:00
Mark Harrah
7ecfc0b8f8
discovery, persistence, frontend, and various fixes to incremental
2010-07-02 06:57:03 -04:00
Mark Harrah
37185c0fb6
discovery, persistence, frontend, and various fixes to incremental
2010-07-02 06:57:03 -04:00
Mark Harrah
9ad9df42b6
first part of semantic, multi-stage incremental compilation
2010-06-27 09:18:35 -04:00
Mark Harrah
f9a7a0a28e
Set -> Seq for sources, classpaths
2010-06-27 09:16:53 -04:00
Mark Harrah
ba725d5046
Relation.make
2010-06-27 09:16:16 -04:00