Commit Graph

43 Commits

Author SHA1 Message Date
Eugene Yokota 1891b52472 Roll back the use of sbt/serialization for update caching 2015-03-10 05:12:17 -04:00
Eugene Yokota 4eff1d0262 catch PicklingException 2015-03-09 22:38:08 -04:00
Eugene Yokota a6193f2ed7 Don't catch throwable 2015-03-09 21:22:58 -04:00
Eugene Yokota 40b65c914a Write JSON to file without String. #1763 2015-03-09 21:22:58 -04:00
Eugene Yokota b70fa6e0c2 Use pickler to cache UpdateReport for update task. #1763 2015-03-09 21:22:58 -04:00
Josh Suereth 244abd3b6f Scalariforming test code 2014-05-07 11:52:23 -04:00
Eugene Yokota adb41611cf added scalariform 2014-05-01 12:50:07 -04:00
Mark Harrah f6d73128fc deprecations 2013-02-25 09:24:04 -05:00
Mark Harrah c0b1bb51e6 -Xlint 2013-02-04 17:30:31 -05:00
Grzegorz Kossakowski ef39aeb9c1 Follow source layout convention supported by Eclipse.
Moved source files so directory structure follow package
structure. That makes it possible to use Scala Eclipse plugin
with sbt's source code.
2012-12-07 10:27:08 -08:00
Mark Harrah e8b33f9286 lazy InputCache for recursive caches 2011-06-20 15:25:23 -04:00
Mark Harrah 06ec88af3d build sxr, api docs and use sbinary 0.4.0 2011-05-17 20:09:20 -04:00
Mark Harrah defd1ee0d4 Cache doc task 2011-04-20 18:31:10 -04:00
Mark Harrah 6215819890 'update' caching now takes into account whether jars still exist 2011-03-17 21:29:35 -04:00
Mark Harrah 357f2fb34d more useful, stackable version of Tracked.changed 2010-12-02 19:53:14 -05:00
Mark Harrah a477c9123d fix FilesInfo style type member, fix PlainFileInfo to track existence 2010-12-02 19:51:56 -05:00
Mark Harrah 506722d748 Format for types that can be read/written to/from InputStream/OutputStream
use case: java.util.jar.Manifest
2010-12-02 19:45:58 -05:00
Mark Harrah c98c9bb727 cleanup 2010-11-24 14:04:32 -05:00
Mark Harrah bbf9bc679e fix cache test 2010-11-09 20:43:58 -05:00
Mark Harrah c3759a7696 overhaul caching, mainly InputCache
better underlying model
supports arbitrary length unions and products
(unions actually limited to 256 elements to encode length as byte)
2010-10-26 18:02:27 -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 1585d805bd more reorganization, mostly IO. Also, move class file analyzer and history code to separate projects 2010-06-13 22:59:29 -04:00
Mark Harrah bae26e431b cache updates 2010-06-07 10:50:51 -04:00
Mark Harrah a33223a02c legal cleanup 2010-02-07 23:45:19 -05:00
Mark Harrah 725beacd9a Ignore 'unknown resolver' errors, work with published version of SBinary, work towards fixing OOME:PermGen issues on reload 2010-01-26 18:41:03 -05:00
Mark Harrah 36208ecac4 Use published version of SBinary 2010-01-25 23:06:23 -05:00
Mark Harrah af288bb199 API: base types with applied type parameters
Compile task: fix detection of classpath changes
Aggressive compiler seems to work on scalaz now
2010-01-23 11:52:39 -05:00
Mark Harrah 6f6b795b39 * Basic API serialization
* Fixes to API extraction and equality checking
 * Reworked tracking
 * New compile infrastructure based on API changes
 * Example application for testing
2010-01-05 19:50:43 -05:00
Mark Harrah a301df2ff1 Cleaning up tasks and caching 2009-12-11 18:56:09 -05:00
Mark Harrah 12c5f5a0d5 Mostly working cross-compile task.
Analyzer plugin is now a proper internal phase to get around bootstrapping issues.
Correctly handle source tags.
2009-09-03 23:40:47 -04:00
Mark Harrah b9c227ecb6 Tracking subproject. 2009-08-31 10:45:32 -04:00
Mark Harrah 3c90faeb95 Correct cache intialization in Changed tracker. 2009-08-31 10:43:41 -04:00
Mark Harrah 5c3bc10c2c Helper CacheResult subclass 2009-08-31 10:41:59 -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 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 74adf5d9f6 Moved type parameter for FileInfo(s).Style to abstract type 2009-08-30 13:01:02 -04:00
Mark Harrah 6e414e96c5 Compile task with dependency tracking. Checkpoint: compiles successfully. 2009-08-30 11:10:37 -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 56547aad29 Composable dependency tracking on top of Tasks. 2009-08-26 08:38:20 -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 56b047035a Change TaskRunner to throw an exception instead of using Either 2009-08-16 20:33:46 -04:00
Mark Harrah 65fc0e0453 Initial xsbt commit 2009-08-16 14:29:08 -04:00