Mark Harrah
1d1aa6b1b5
integrate logging, subprojects
2010-09-08 14:46:14 -04:00
Mark Harrah
e80de34a6e
split out extra tasks, implement logging
2010-09-08 14:45:22 -04:00
Mark Harrah
a5ac661115
make project history-enabled
2010-09-08 14:44:04 -04:00
Mark Harrah
7b64a8f526
project navigation changes
...
projectClosure takes State
save initial project in State
2010-09-08 14:40:24 -04:00
Mark Harrah
be8b63cb38
fix implied transformation loop
...
'implied' state was not reset on transformed
Task, so it was processed again (and again...)
2010-09-08 14:32:28 -04:00
Mark Harrah
1659e05213
more methods for changing Task 'implied' state
...
implied(flag: Boolean)
local
2010-09-08 14:31:14 -04:00
Mark Harrah
cde1f57361
closeQuietly should be quiet
2010-09-08 14:30:27 -04:00
Mark Harrah
bef61ab9fd
correct order for IO.readLines
2010-09-08 14:29:38 -04:00
Mark Harrah
b03b56ea2e
hierarchical in-memory settings
2010-09-08 14:29:00 -04:00
Mark Harrah
0c12c5e2bd
merge ProjectContainer into Project, rearrange sub project methods
2010-09-06 00:15:20 -04:00
Mark Harrah
323115e263
register loadp, ~, -- commands
2010-09-06 00:13:59 -04:00
Mark Harrah
67682f32d3
implement ~
2010-09-06 00:13:53 -04:00
Mark Harrah
018ef2b3c7
add failure wall command '--'
2010-09-05 11:16:53 -04:00
Mark Harrah
6b4844094a
project loading
2010-09-05 11:12:44 -04:00
Mark Harrah
cc4fc95dba
add generic attribute map to State
2010-09-05 10:56:24 -04:00
Mark Harrah
fec83c1470
fix help for 'compile'
2010-09-05 10:49:49 -04:00
Mark Harrah
502f355a65
convenience methods for compilation
2010-09-04 08:46:36 -04:00
Mark Harrah
0caa00da64
update DotGraph for 0.9
2010-09-04 08:46:19 -04:00
Mark Harrah
61c855ddc6
working towards using Logger
2010-09-04 08:46:00 -04:00
Mark Harrah
8f1768d6a8
add Logger to Streams
2010-09-04 08:45:34 -04:00
Mark Harrah
caa655ae06
add owner name function to context
2010-09-04 08:44:21 -04:00
Mark Harrah
2e3367d6d6
first part of fixing #44
2010-09-04 08:42:37 -04:00
Mark Harrah
40a8b77f18
make 'run' and 'tracking' subprojects available
2010-09-04 08:30:02 -04:00
Mark Harrah
bdcf0a7656
'project definitions' can get info about compilation
...
definition that has constructor with single parameter of
type Compiled gets passed the compilation parameters and
Analysis for compiling it
2010-09-04 08:27:07 -04:00
Mark Harrah
8c02f9f478
rename Compile member to avoid conflict with pending change
2010-09-04 08:25:34 -04:00
Mark Harrah
050f9db501
rework ConsoleLogger
...
can send output to a PrintWriter
control over color, still need custom formatter
replace IvyLogger with normal Logger
2010-09-04 08:24:26 -04:00
Mark Harrah
9bcd68d28c
rework REPL support
...
allow bindings, which requires specifying the parent class loader
same code can be used for both 'console' and 'console-project' now
provide interface through main/Console
2010-09-04 08:18:06 -04:00
Mark Harrah
37594904f9
remove unused parameter and fix comment
2010-09-04 08:13:36 -04:00
Mark Harrah
763fbfb39f
fix PMap test
2010-09-04 08:12:17 -04:00
Mark Harrah
6378107317
paths cleanup
2010-09-04 08:11:36 -04:00
Mark Harrah
22f319588c
reworked tracking
...
added memoization for Set[File] => Set[File]
2010-09-04 08:11:05 -04:00
Mark Harrah
b4eea78959
cleanup
2010-09-04 08:07:51 -04:00
Mark Harrah
0c59e9d5a6
minor updates for p2
2010-08-30 09:10:25 -04:00
Mark Harrah
62691e6681
cross-configurations
2010-08-27 19:17:03 -04:00
Mark Harrah
4bb7c44730
fix Logger/Process
2010-08-22 19:07:46 -04:00
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