Commit Graph

10242 Commits

Author SHA1 Message Date
Mark Harrah f6abc17ddf convenience method on Settings to get all (Scope, AttributeKey[_]) pairs 2011-01-25 22:19:03 -05:00
Mark Harrah 1be53be310 make Uri parser fail (instead of error) on malformed inputs 2011-01-25 22:18:18 -05:00
Mark Harrah e739e74ff5 make Uri parser fail (instead of error) on malformed inputs 2011-01-25 22:18:18 -05:00
Mark Harrah d283bd2cd2 add builder convenience methods to Project 2011-01-25 22:17:28 -05:00
Mark Harrah d906455aed split load-time project structure scope resolution into two phases
first phase resolves referenced build URIs as each build is loaded
second phase resolves references without an explicit project ID
  (this requires the whole structure to be known and this isn't available during the first phase)
setting resolution is unchanged (done after both phases)
2011-01-25 22:14:02 -05:00
Mark Harrah 1b9b2481f4 split load-time project structure scope resolution into two phases
first phase resolves referenced build URIs as each build is loaded
second phase resolves references without an explicit project ID
  (this requires the whole structure to be known and this isn't available during the first phase)
setting resolution is unchanged (done after both phases)
2011-01-25 22:14:02 -05:00
Mark Harrah f1af2c1cbc get,set,eval commands 2011-01-25 07:24:52 -05:00
Mark Harrah ba9c2c0e14 cleanup and fixes 2011-01-24 18:08:43 -05:00
Mark Harrah 837bb80d40 cleanup and fixes 2011-01-24 18:08:43 -05:00
Mark Harrah 5f9c6f7f26 improve commands, proper build/project base resolution
finish alias support
better project printing in 'projects'
completion support for 'help'
resolve URIs in ProjectRef against base URI of defining build in keys and project relations
resolve base directories and record build URI in BuildUnit
preserve relative paths in File to URI conversion for later resolution
2011-01-23 22:34:17 -05:00
Mark Harrah 2687836ca5 improve commands, proper build/project base resolution
finish alias support
better project printing in 'projects'
completion support for 'help'
resolve URIs in ProjectRef against base URI of defining build in keys and project relations
resolve base directories and record build URI in BuildUnit
preserve relative paths in File to URI conversion for later resolution
2011-01-23 22:34:17 -05:00
Mark Harrah 72261548ef use java.util.Linked* instead of scala's 2011-01-22 16:21:22 -05:00
Mark Harrah 2d394c7551 move applyEffect to Command 2011-01-22 15:07:59 -05:00
Mark Harrah 092c012b0b make explicit the separation between parsing and execution
Parser[() => State] instead of Parser[State]
2011-01-22 15:01:10 -05:00
Mark Harrah 784d83af17 make explicit the separation between parsing and execution
Parser[() => State] instead of Parser[State]
2011-01-22 15:01:10 -05:00
Mark Harrah d49706b297 redo Command to use Parser
nested commands still need work
2011-01-22 14:01:59 -05:00
Mark Harrah c3a265dbd3 redo Command to use Parser
nested commands still need work
2011-01-22 14:01:59 -05:00
Mark Harrah 21dabc0fab load a single Streams instance per session and store it in BuildStructure 2011-01-21 17:22:18 -05:00
Mark Harrah bcc8c37f4d multi-project model based on Settings and ProjectRef 2011-01-18 18:48:32 -05:00
Mark Harrah 087bc569e0 multi-project model based on Settings and ProjectRef 2011-01-18 18:48:32 -05:00
Mark Harrah c24c0b7a23 fully-scoped Settings 2011-01-18 18:48:32 -05:00
Mark Harrah 7ced3c0406 fully-scoped Settings 2011-01-18 18:48:32 -05:00
Mark Harrah 625ddd703c part I of revised approach to commands/projects
no privileged project member of State
no separation of Command and Apply, so no pre-filtering on State
use entries in State attributes map instead of mixing in traits to project object:
  HistoryPath, Logger, Analysis, Navigate, Watch, TaskedKey
rework Navigation to be standalone instead of mixin
2011-01-18 18:48:32 -05:00
Mark Harrah 6960d24158 part I of revised approach to commands/projects
no privileged project member of State
no separation of Command and Apply, so no pre-filtering on State
use entries in State attributes map instead of mixing in traits to project object:
  HistoryPath, Logger, Analysis, Navigate, Watch, TaskedKey
rework Navigation to be standalone instead of mixin
2011-01-18 18:48:32 -05:00
Mark Harrah 20a5e3b3c7 add option to show inferred type of an expression 2011-01-18 18:48:32 -05:00
Mark Harrah 0b3c2dada5 expression evaluator 2011-01-18 18:48:32 -05:00
Mark Harrah 783d732868 Remove obsolete comments 2011-01-18 18:43:58 -05:00
Mark Harrah 97951e8cf4 Remove obsolete comments 2011-01-18 18:43:58 -05:00
Mark Harrah f0ef14289d update completion example with newer combinators 2011-01-18 18:43:17 -05:00
Mark Harrah ac70b45c1c update completion example with newer combinators 2011-01-18 18:43:17 -05:00
Mark Harrah 5cb2ba2a7d JLine integration for tab completion combinators 2011-01-18 18:07:48 -05:00
Mark Harrah 8af2a0b7e0 JLine integration for tab completion combinators 2011-01-18 18:07:48 -05:00
Mark Harrah 9e045edab8 always use 'jar' as packaging type if there is an artifact with a 'jar' type 2011-01-04 11:10:31 -05:00
Mark Harrah 62958e2f19 fix flatMap in completion 2010-12-14 06:08:20 -05:00
Mark Harrah 260ee59d4a fix flatMap in completion 2010-12-14 06:08:20 -05:00
Mark Harrah ddb4381454 fixes and improvements to tab completions combinators 2010-12-13 22:44:25 -05:00
Mark Harrah 1c29522ba8 fixes and improvements to tab completions combinators 2010-12-13 22:44:25 -05:00
Mark Harrah c436a1d3eb Settings 2010-12-12 21:33:32 -05:00
Mark Harrah 22a71f2432 Settings 2010-12-12 21:33:32 -05:00
Mark Harrah 99230f02a2 fixes and additions to completion combinators
filter,map,flatMap
remove incorrect reductions
2010-12-08 22:16:12 -05:00
Mark Harrah 05195ecc7c fixes and additions to completion combinators
filter,map,flatMap
remove incorrect reductions
2010-12-08 22:16:12 -05:00
Mark Harrah 29efa529cd parser combinators with builtin tab completion support
lacks memoization
lacks error messages for normal parsing
2010-12-06 19:48:49 -05:00
Mark Harrah 8e6b42180d parser combinators with builtin tab completion support
lacks memoization
lacks error messages for normal parsing
2010-12-06 19:48:49 -05:00
Mark Harrah bc11837ccc javap, test-javap, sh, exec tasks 2010-12-02 21:56:15 -05:00
Mark Harrah e68f133c7f {publish,deliver}{,-local} and package tasks 2010-12-02 20:22:18 -05:00
Mark Harrah 8df5cbabf5 grep-last task for searching logs of previous task runs 2010-12-02 20:04:29 -05:00
Mark Harrah 9787cfebc7 cache information for PublishConfiguration, although it won't be used anytime soon 2010-12-02 20:00:18 -05:00
Mark Harrah fbd24d2241 update deliver,make-pom,publish-local to be usable 2010-12-02 19:56:19 -05:00
Mark Harrah 93fb4f3dca more useful, stackable version of Tracked.changed 2010-12-02 19:53:14 -05:00
Mark Harrah 357f2fb34d more useful, stackable version of Tracked.changed 2010-12-02 19:53:14 -05:00