Commit Graph

17422 Commits

Author SHA1 Message Date
Mark Harrah 5fa328551c Small improvements to I/O 2009-08-31 10:41:43 -04:00
Mark Harrah aa8dfc5a51 General improvement of tasks/caches/tracking:
- Specify behavior of ChangeReport and give it a toString implementation.
 - Cache initialization.
 - Specify cleaning behavior on TaskDefinition and Tracked instances.
 - Sync task implementation handles output changes.
2009-08-30 21:53:38 -04:00
Mark Harrah 26da622276 General improvement of tasks/caches/tracking:
- Specify behavior of ChangeReport and give it a toString implementation.
 - Cache initialization.
 - Specify cleaning behavior on TaskDefinition and Tracked instances.
 - Sync task implementation handles output changes.
2009-08-30 21:53:38 -04:00
Mark Harrah 65c4cac90c Added a couple of methods on Iterables for Task 2009-08-30 21:49:50 -04:00
Mark Harrah e69bdb8560 Removed tuple caches.
Removing these 16 implicits brought compile time for Cache subproject down to 7s from 17s.
2009-08-30 21:47:33 -04:00
Mark Harrah 6a61193a47 Removed tuple caches.
Removing these 16 implicits brought compile time for Cache subproject down to 7s from 17s.
2009-08-30 21:47:33 -04:00
Mark Harrah 81e546fa30 Add toString to TaskFailure exception 2009-08-30 21:45:49 -04:00
Mark Harrah 05f4f60553 Add methods to FileUtilities to read entire file into String or Array[Byte] 2009-08-30 21:44:44 -04:00
Mark Harrah 68d50ae56b Moved type parameter for FileInfo(s).Style to abstract type 2009-08-30 13:01:02 -04:00
Mark Harrah 74adf5d9f6 Moved type parameter for FileInfo(s).Style to abstract type 2009-08-30 13:01:02 -04:00
Mark Harrah 7f3e21537b Compile task with dependency tracking. Checkpoint: compiles successfully. 2009-08-30 11:10:37 -04:00
Mark Harrah 6e414e96c5 Compile task with dependency tracking. Checkpoint: compiles successfully. 2009-08-30 11:10:37 -04:00
dmharrah c19276d7bd Make public the variant of cat that accepts Seq
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@976 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-30 01:46:30 +00:00
dmharrah ef5d6870a1 Fix error "source not found" exposed by fix for bug #39
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@975 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-30 01:28:12 +00:00
dmharrah e56df17a04 Update for latest 2.8 nightly
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@971 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-29 20:38:08 +00:00
dmharrah fb46177226 Enable building against the latest 2.8 nightly snapshot
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@970 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-29 20:26:43 +00:00
Mark Harrah 129bc048c4 tuple caches, stamped caches, Path API, another type of change detection, and copying/archiving based on (source,target) tuples 2009-08-29 10:19:00 -04:00
Mark Harrah 573994dd4e tuple caches, stamped caches, Path API, another type of change detection, and copying/archiving based on (source,target) tuples 2009-08-29 10:19:00 -04:00
Mark Harrah 11148ce7bd Composable dependency tracking on top of Tasks. 2009-08-26 08:38:20 -04:00
Mark Harrah 56547aad29 Composable dependency tracking on top of Tasks. 2009-08-26 08:38:20 -04:00
dmharrah fff58af73e Test for issue #41, thanks to gereedy
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@968 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-24 23:37:28 +00:00
Mark Harrah 50d350abd0 Compilation with analysis independent of Scala version of sbt.
Basic test for this.
2009-08-23 22:21:15 -04:00
dmharrah 4687ecbf2c * Add logging for Scala dependency filtering/checking.
* Fix tab completion for javap
 * Fix archive generation code


git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@967 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-24 01:23:41 +00:00
dmharrah 89ccb9ec3f Fix for issue 39, where sources were not relative in src package
Fix for type inference issue in latest Scala 2.8.0-SNAPSHOT



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@962 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-22 17:07:33 +00:00
Mark Harrah efb1604f0e Test and fixes for getting ClassLoader for Scala jars. 2009-08-21 08:55:11 -04:00
Mark Harrah b716d33ba3 Initial code for the loader. 2009-08-21 08:12:43 -04:00
Mark Harrah 2acaa0ad25 Tests and fixes for component manager and cache interface. 2009-08-20 00:02:06 -04:00
Mark Harrah 31b6464101 Tests and fixes for component manager and cache interface. 2009-08-20 00:02:06 -04:00
Mark Harrah 108807a773 Tests and fixes for component manager and cache interface. 2009-08-20 00:02:06 -04:00
dmharrah ddb1d4b84b Vesa's patch for configuring process output
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@961 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-19 17:33:29 +00:00
dmharrah 951bcc9a65 * Added InstallProject+DefaultInstallProject with 'install' task. It installs dependencies retrieved from the resolver assigned to 'resolveFrom' to the resolver given by 'publishTo'.
* Added simple runTask(mainClass: String) method



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@959 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-19 14:21:38 +00:00
Mark Harrah 4b824fbe84 Tests and fixes for analysis plugin and the task scheduler. 2009-08-18 23:25:34 -04:00
Mark Harrah a70ddd8e32 Tests and fixes for analysis plugin and the task scheduler. 2009-08-18 23:25:34 -04:00
Mark Harrah ec7074a340 More plugin tests 2009-08-18 10:25:43 -04:00
Mark Harrah 3c68c20030 Setup interface project for testing 2009-08-18 00:51:08 -04:00
Mark Harrah 165d1df52c Setup interface project for testing 2009-08-18 00:51:08 -04:00
Mark Harrah 67e13ad887 Setup interface project for testing 2009-08-18 00:51:08 -04:00
Mark Harrah 1864c12f74 Setting up compiler support and several related additions to util/io
* Added the top-level interface project for communicating across scala versions within a jvm.
 * Added plugin project containing analysis compiler plugin
 * Added component compiler to build xsbt components against required version of Scala on the fly
 * Added interface to compiler that runs in the same version of Scala
 * Added frontend that compiles against a given version of Scala with or without analysis.
2009-08-17 10:51:43 -04:00
Mark Harrah 5644b936fe Setting up compiler support and several related additions to util/io
* Added the top-level interface project for communicating across scala versions within a jvm.
 * Added plugin project containing analysis compiler plugin
 * Added component compiler to build xsbt components against required version of Scala on the fly
 * Added interface to compiler that runs in the same version of Scala
 * Added frontend that compiles against a given version of Scala with or without analysis.
2009-08-17 10:51:43 -04:00
Mark Harrah 3c9cc8a944 Change TaskRunner to throw an exception instead of using Either 2009-08-16 20:33:46 -04:00
Mark Harrah 56b047035a Change TaskRunner to throw an exception instead of using Either 2009-08-16 20:33:46 -04:00
Mark Harrah 43a299bc3f Initial xsbt commit 2009-08-16 14:29:08 -04:00
Mark Harrah f83d59b8cc Initial xsbt commit 2009-08-16 14:29:08 -04:00
Mark Harrah 65fc0e0453 Initial xsbt commit 2009-08-16 14:29:08 -04:00
dmharrah 97f252aaaf Tiny speedup to boot when update required
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@953 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-13 03:33:21 +00:00
dmharrah fb2aabadd7 * Improved Ivy-related code to not load unnecessary default settings
* Moved repository order to be local, user repositories, Maven Central, and then Scala Tools



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@951 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-13 02:50:00 +00:00
dmharrah b79de8d788 Build against 2.8.0 static snapshot
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@950 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-13 01:47:09 +00:00
dmharrah 749934f64a * Moved topologicalSort in Dag trait to companion object
* Subprojects can be excluded from dependencies so that their actions aren't executed when a parent's actions are



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@944 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-09 02:03:24 +00:00
dmharrah d798cb88b8 * Updates for 2.8 nightly from Aug. 6
* javap, sh, exec actions
 * Test summary



git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@941 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-08 22:16:25 +00:00
dmharrah a3f1c671a6 JSP test
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@940 d89573ee-9141-11dd-94d4-bdf5e562f29c
2009-08-08 22:13:10 +00:00