Commit Graph

247 Commits

Author SHA1 Message Date
Mark Harrah 15e40d4172 filename cleanup 2011-03-05 15:13:16 -05:00
Mark Harrah d7e2f6233d use the launcher's cache directory by default if it is set 2011-03-05 09:11:16 -05:00
Mark Harrah 1ee5891ac9 further delegation adjustments to searching project=Global 2011-03-05 08:50:08 -05:00
Mark Harrah f298d3a8f2 put configurations into default build scope 2011-03-05 08:25:17 -05:00
Mark Harrah e7b47d67e7 canonicalize classpath before compiling 2011-03-04 12:02:46 -05:00
Mark Harrah b7f92ae07f 2.9 compatibility fixes 2011-03-04 06:16:35 -05:00
Mark Harrah 60d9355b54 add build level configuration
made ProjectRef semantics explicit
2011-03-03 06:44:19 -05:00
Mark Harrah 70972c6499 normalize key names 2011-03-02 06:46:28 -05:00
Mark Harrah 4cd6e60360 add 'full' option to 'reboot' that cleans project/boot before restarting 2011-03-01 09:44:45 -05:00
Mark Harrah 38d113e8b1 reintegrate ~ (again) 2011-03-01 08:54:06 -05:00
Mark Harrah 11c2b2239c continuous polling interval now in milliseconds 2011-03-01 08:51:14 -05:00
Mark Harrah 3922580c58 join for tasks and settings 2011-03-01 08:48:14 -05:00
Mark Harrah 3c08eed2a6 address some deprecations 2011-03-01 08:44:41 -05:00
Mark Harrah 98bd962952 make "globals" per-build definition 2011-02-27 16:28:00 -05:00
Mark Harrah 0729798cce keys cleanup 2011-02-27 00:36:54 -05:00
Mark Harrah c21c580314 allow This, Global to represent ThisScope, GlobalScope 2011-02-27 00:34:57 -05:00
Mark Harrah 19698e308e keys cleanup part 2 2011-02-27 00:02:50 -05:00
Mark Harrah 5ea24a460b keys cleanup 1. 2011-02-26 23:34:39 -05:00
Mark Harrah 83866ffb42 incremental tests, misc fixes 2011-02-26 20:34:18 -05:00
Mark Harrah a68e4c74f9 updating more integration tests 2011-02-25 18:35:52 -05:00
Mark Harrah 4f4ae170d3 work on plugins, added console-project, re-integrated more tests 2011-02-24 23:30:06 -05:00
Mark Harrah 9db4afd222 bring more integration tests back online with associated fixes 2011-02-23 19:19:44 -05:00
Mark Harrah ba8f43a23e starting to convert integration tests 2011-02-22 22:36:48 -05:00
Mark Harrah 329709c750 configurable shell prompt
for example:
 Command.ShellPrompt := {
   s => Project.extract(s).cid + "> "
 }
2011-02-21 19:35:05 -05:00
Mark Harrah df1c9c00c7 include Scala version to artifact names to match expected names for publishing 2011-02-21 10:22:39 -05:00
Mark Harrah ea1e7d6cae disable aggregation by default for the interactive tasks 2011-02-21 10:07:58 -05:00
Mark Harrah 218ccc2c9f aggregation 2011-02-21 10:07:39 -05:00
Mark Harrah 2ed574b30d fix unmanaged dependencies being excluded in certain cases 2011-02-20 15:40:29 -05:00
Mark Harrah 9fb78514c7 add unmanaged jars from project dependencies 2011-02-19 23:25:30 -05:00
Mark Harrah 04910baf2f command cleanup, load project by default, prompt on load failure 2011-02-19 22:22:09 -05:00
Mark Harrah 552be510ad restrict configuration and project ID to valid values at parser level for tab completion 2011-02-19 08:49:30 -05:00
Mark Harrah 16cd2e7fdc append caret to pointer string 2011-02-18 20:55:37 -05:00
Mark Harrah cda1995a6b make default name the project id 2011-02-15 18:41:40 -05:00
Mark Harrah 8ad8718366 rename 'get' to 'inspect', merge 'delegates' command into it 2011-02-15 18:41:01 -05:00
Mark Harrah dcd24f5dc4 implement %% 2011-02-14 18:57:54 -05:00
Mark Harrah 83cb152fd7 rename 'inherits' to the more appropriate 'delegates' 2011-02-14 18:56:29 -05:00
Mark Harrah cfd4b99f29 when evaluating settings, import Keys._ by default 2011-02-14 18:55:05 -05:00
Mark Harrah dd06a0c1d3 fix mixed up javac/scalac options 2011-02-13 19:02:22 -05:00
Mark Harrah 11a76c9f3b last, last-grep 2011-02-12 16:23:40 -05:00
Mark Harrah 562f362f09 remove obsolete parsers subproject 2011-02-12 15:43:37 -05:00
Mark Harrah c9b932acd1 cleanup/rework related to Settings/InputParser
- drop fillThis: handle in injectStreams instead
- simplify InputParser construction (at the expense of implementation simplicity)
- split out ScopeKey/initialization parts of Setting with separate Initialize trait
  + makes Apply obsolete
  + makes the Initialize trait properly composable
  + this allowed splitting the InputParser definition into
    an Initialize for parsing and one for the action
- implement test-only
- inject resolved scope
2011-02-11 20:22:17 -05:00
Mark Harrah cbdabc1383 handle invalid command names in action parser (by ignoring them) 2011-02-11 20:12:15 -05:00
Mark Harrah 1124cc59d9 package, package-doc, package-src 2011-02-10 08:16:07 -05:00
Mark Harrah 3de34c6569 'show' can prefix task to display its result 2011-02-10 08:13:48 -05:00
Mark Harrah 462b0f2237 delete reintegrated code 2011-02-10 08:13:05 -05:00
Mark Harrah 74013f3cc7 per-project commands with Commands configuration 2011-02-08 20:38:18 -05:00
Mark Harrah f780d67a78 add reverse dependencies to 'get' output 2011-02-08 20:36:29 -05:00
Mark Harrah 66442a51df fix ScalaInstance creation and include Scala version in Target 2011-02-08 20:34:39 -05:00
Mark Harrah 28d0b36b43 copy-resources 2011-02-06 13:01:50 -05:00
Mark Harrah b9b607aade delegates command 2011-02-06 12:26:20 -05:00
Mark Harrah 06a346a543 'get' now shows defining scope, related definitions, dependencies 2011-02-06 11:33:56 -05:00
Mark Harrah c9b1b507cd doc,test tasks 2011-02-06 11:33:29 -05:00
Mark Harrah 692772ece2 clean,console,console-quick,run 2011-02-05 21:40:10 -05:00
Mark Harrah c1cc482b94 overhaul Streams injection 2011-02-05 21:39:34 -05:00
Mark Harrah a49872c35d fix Scope printing when task axis is not Select 2011-02-05 21:35:54 -05:00
Mark Harrah eb10f7ee94 improve Setting construction
- make all constructing methods end in = for lowest precedence
- rename Scope constructing method 'apply' to 'in' to allow 'apply' to
    be used on single settings as well as tuples and 'in' reads better
2011-02-04 22:02:39 -05:00
Mark Harrah 8bfe9a0208 initial set of default settings
still need key consolidation and import
2011-02-03 07:17:47 -05:00
Mark Harrah c9a6d2f6b0 session manipulation commands
save, clear, list, and remove session settings
2011-02-02 22:56:11 -05:00
Mark Harrah 14990b5127 cache Eval results
still need to clean up stale class files
2011-02-02 19:38:41 -05:00
Mark Harrah db20122626 allow default configuration to be implied for selecting task to run 2011-02-02 19:35:46 -05:00
Mark Harrah 0bd03b9d6e project definition output directory consistency cleanup 2011-02-02 19:34:52 -05:00
Mark Harrah e5eaf360c9 fix Eval creation when changing project 2011-02-02 19:29:03 -05:00
Mark Harrah bdf643f57a minor rearranging 2011-02-02 19:27:55 -05:00
Mark Harrah bff18e7e7a curry InputTask.apply for inference 2011-02-02 19:26:45 -05:00
Mark Harrah 6108808aeb fix Build discovery 2011-02-02 19:25:18 -05:00
Mark Harrah 65b341cdf0 translate Uninitialized message to use 'display' 2011-01-31 18:16:25 -05:00
Mark Harrah d9d4869e49 inject current Configuration into settings 2011-01-31 18:15:15 -05:00
Mark Harrah 266df4c1ad improve Scope display, fix delegates 2011-01-31 18:02:13 -05:00
Mark Harrah b9e4c9299b work on special settings, TupleN/FunctionN interface for map/flatMap 2011-01-30 23:19:28 -05:00
Mark Harrah 1c9caf40a3 minor additions 2011-01-29 11:22:59 -05:00
Mark Harrah 43dc6af4ce support map/flatMap on mixed Task/Setting KLists 2011-01-28 21:15:39 -05:00
Mark Harrah 6b91ad59fd Eval-related improvements
- support import clauses
- error display: source name, line numbers for each expression
- for 'eval', 'get', 'set', and .sbt files, use default imports and import from Plugins, Builds
2011-01-26 19:49:54 -05:00
Mark Harrah f182b3a896 'act' command for running tasks 2011-01-25 22:23:03 -05:00
Mark Harrah c676c1c673 adjustments and cleanup 2011-01-25 22:22:11 -05:00
Mark Harrah bfa3a996e9 simplify InputTask and provide InputKey factory methods 2011-01-25 22:20:05 -05:00
Mark Harrah d283bd2cd2 add builder convenience methods to Project 2011-01-25 22:17:28 -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 837bb80d40 cleanup and fixes 2011-01-24 18:08:43 -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 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 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 087bc569e0 multi-project model based on Settings and ProjectRef 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 97951e8cf4 Remove obsolete comments 2011-01-18 18:43:58 -05:00
Mark Harrah 1c29522ba8 fixes and improvements to tab completions combinators 2010-12-13 22:44:25 -05:00
Mark Harrah 22a71f2432 Settings 2010-12-12 21:33:32 -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 054a754493 doc, test-doc tasks 2010-12-02 19:45:16 -05:00
Mark Harrah a7b784fc86 small fixes 2010-12-02 19:31:23 -05:00
Mark Harrah 6d2bbbe0c1 TaskGroups, Context in tasks, new tasks
add syncTask task constructor and copy-resources/copy-test-resources instances
add console-quick, test-console, console, test-run
add IntegrationTest trait
make Context available through 'context' task
update 'last' and 'show' to use Context to retrieve task by name
drop SingleProject (superseded by Project)
add TaskGroup to be able to inject groups of named tasks
fix watchPaths missing flat sources
proper logging in a few more places, such as compile
2010-11-24 14:18:59 -05:00
Mark Harrah 16e2b71ccc don't print help for internal commands 2010-11-24 14:10:48 -05:00
Mark Harrah ccf0508ce6 cleanup, small fixes 2010-11-24 14:08:20 -05:00
Mark Harrah 46a6a1af16 'test' task 2010-11-24 14:03:26 -05:00