Mark Harrah
368bdd2701
task system cleanup
...
KList.map -> transform
can now drop trailing 'H' from multi-Task 'mapH'
compressed Action hierarchy by merging (Flat)Map{ped,All,Failure} into (Flat)Mapped
moved most information in Info into attributes: AttributeMap to allow future changes
2010-08-21 22:55:42 -04:00
Mark Harrah
1949fe903c
Fix issue with lost task names
2010-08-21 22:52:18 -04:00
Mark Harrah
0b39232445
clean up Process subproject
...
no longer has any dependencies
small ProcessLogger interface to send buffered out/err to
commented out (but working) implicit conversions from Logger -> ProcessLogger
for use in an integrating project to get original functionality
2010-08-21 22:49:11 -04:00
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
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
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
32150e7097
type alias A ~>| B for [T]A[T] => Option[B[T]]
2010-08-10 08:40:14 -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
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
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
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
d7b66458f2
first shot at general command/definition model
2010-07-17 12:07:41 -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
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
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
3b8aeddbfb
Relation.make
2010-06-27 09:16:16 -04:00
Mark Harrah
c1b9cdb209
MList -> KList, Relation[T] -> Relation[A,B]
2010-06-24 18:09:07 -04:00
Mark Harrah
2df010a0f6
update versions and build
2010-06-21 21:25:48 -04:00
Mark Harrah
0168aae0c6
fix overloading issue in task demo
2010-06-21 21:25:02 -04:00
Mark Harrah
c1ca823214
extend Iterable instead of Traversable because of toStream looping
2010-06-21 21:24:25 -04:00
Mark Harrah
b8c4c2b6da
minor rearrangements of SameAPI
2010-06-21 21:23:42 -04:00
Mark Harrah
603d2be2e9
basic type parsing for testing/prototyping
2010-06-21 21:23:10 -04:00
Mark Harrah
92cacef95d
relation data structure
2010-06-21 21:22:11 -04:00
Mark Harrah
b2077ce60c
more 2.8 updates, launcher compiles and runs with 2.8
2010-06-15 20:38:18 -04:00