Commit Graph

121 Commits

Author SHA1 Message Date
Indrajit Raychaudhuri 859f569da0 Fix spelling: 'descendent' is now 'descendant', English ftw. Closes #293 2011-12-12 19:10:47 +05:30
Indrajit Raychaudhuri 64af38bb84 Use IO.write instead of explicit resource management 2011-10-26 21:43:42 +05:30
Mark Harrah 7f64e84393 method to create temporary directory in arbitrary directory 2011-08-05 21:56:32 -04:00
Mark Harrah 980e906ca1 handle custom -bootclasspath in incremental recompilation 2011-08-04 07:20:25 -04:00
Mark Harrah 0e5533786c normalize slashes in custom IO.toURI function. fixes #105. 2011-07-13 18:08:29 -04:00
Mark Harrah 555b1c04a4 shorten default hash suffix for project ID 2011-07-12 23:09:57 -04:00
Mark Harrah 5d11b62876 convenience for hashing String to a String 2011-07-06 07:30:47 -04:00
Scott Royston 28f0e85779 Fix for mkdirs race condition 2011-06-30 16:32:19 -05:00
Mark Harrah 79ab6ad9ee fix type of Path.userHome to be File, not RichFile 2011-06-10 07:48:53 -04:00
Mark Harrah 0c572bc4aa touch variant that doesn't set last modified time 2011-05-18 08:12:06 -04:00
Mark Harrah ec2df78526 fix unused zero for PathMapper.rebase 2011-05-16 22:56:07 -04:00
Mark Harrah b42c06406f drop path tests 2011-05-14 20:16:21 -04:00
Mark Harrah 2343a55bb9 replace Path with RichFile 2011-05-14 18:21:41 -04:00
Mark Harrah 40c6ca3b3d Pluggable build resolvers 2011-05-07 22:02:06 -04:00
Mark Harrah 1c400db4d9 harden clean and IO.move 2011-04-12 23:10:36 -04:00
Mark Harrah 18cfaa7414 finals 2011-04-12 20:28:30 -04:00
Mark Harrah 673f9923ab dependency filters, selecting/filtering UpdateReport 2011-04-10 16:22:48 -04:00
Mark Harrah 37e24daebf use stable ordering for PathFinder.getFiles 2011-03-16 22:22:20 -04:00
Mark Harrah a2bbf741ad fix exception swallowing in IO.archive 2011-03-16 22:17:09 -04:00
Mark Harrah 10d2d4c14a readLines from URL 2011-03-13 21:32:38 -04:00
Mark Harrah 11c2b2239c continuous polling interval now in milliseconds 2011-03-01 08:51:14 -05:00
Mark Harrah a68e4c74f9 updating more integration tests 2011-02-25 18:35:52 -05:00
Mark Harrah 3895a7cb1e define IO.writeLines for a PrintWriter 2011-02-11 20:10:53 -05:00
Mark Harrah 10d48fd3fa add multi-directory versions of rebase and relativeTo 2011-02-10 08:14:51 -05:00
Mark Harrah 0ed1e8e894 fix lazyPathFinder to drop non-existing files 2011-02-10 08:14:24 -05:00
Mark Harrah 9858c9b91d additional entry point in Hash 2011-02-02 19:25:56 -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 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 9d6a4f70f7 additional utility methods 2010-11-24 14:09:02 -05:00
Mark Harrah ccf0508ce6 cleanup, small fixes 2010-11-24 14:08:20 -05:00
Mark Harrah c98c9bb727 cleanup 2010-11-24 14:04:32 -05:00
Mark Harrah de3ad8c860 eliminate temporary directory for injecting resources into a class loader 2010-11-13 20:16:44 -05:00
Mark Harrah 0846ffd02b minor updates to utilities 2010-10-30 11:54:43 -04:00
Mark Harrah f8439d2d64 modified patch from Viktor and Ross 2010-10-28 23:02:46 -04:00
Mark Harrah 28f1eecbef changes to make latest preview easier 2010-09-23 09:21:39 -04:00
Mark Harrah 5b181eea6e fix issue with quiet waiting in source watcher 2010-09-21 22:03:18 -04:00
Mark Harrah fa10f1a614 relativize that takes File arguments 2010-09-17 20:28:36 -04:00
Mark Harrah bef61ab9fd correct order for IO.readLines 2010-09-08 14:29:38 -04:00
Mark Harrah 67682f32d3 implement ~ 2010-09-06 00:13:53 -04:00
Mark Harrah 62691e6681 cross-configurations 2010-08-27 19:17:03 -04:00
Mark Harrah 714d21d865 add IO functions: InputStream -> File, BufferedReader -> List[String] 2010-08-14 09:48:46 -04:00
Mark Harrah 8caaabbdf4 Handle absolute paths passed to Path.fromString 2010-08-10 08:36:31 -04:00
Mark Harrah d0fa1eb461 * move Environment classes to util/env module
* move TrapExit, SelectMainClass to run module
* rearrange some compilation-related code
* Jetty-related code moved to web module
2010-07-14 19:24:50 -04:00
Mark Harrah 6f3c699435 - Stuart's improvements to triggered execution
- continue splitting original sbt module
 * separated process, testing modules
 * various IO, logging, classpath migration
 * split out javac interface
2010-07-05 12:53:37 -04:00
Mark Harrah 37185c0fb6 discovery, persistence, frontend, and various fixes to incremental 2010-07-02 06:57:03 -04:00
Mark Harrah b2077ce60c more 2.8 updates, launcher compiles and runs with 2.8 2010-06-15 20:38:18 -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 1ee470282d Merge branch '0.9' of github.com:harrah/xsbt into 0.9 2010-06-10 21:34:13 -04:00
Mark Harrah d1260eebd1 first update of io for 2.8 2010-06-09 00:56:07 -04:00
Mark Harrah b28d0361d7 new method FileUtilities.stash 2010-05-21 18:48:14 -04:00
Mark Harrah 42f4a71584 xsbt.FileUtilities.writeLines 2010-05-03 08:16:43 -04:00
Mark Harrah 48b5b5d7dc Added PathFinder.distinct, some API documentation, and started to clean up Path testing. 2010-04-03 14:09:32 -04:00
Mark Harrah e1e60fe859 preserve compiler interface classes across invocations 2010-03-13 13:25:08 -05:00
Mark Harrah a33223a02c legal cleanup 2010-02-07 23:45:19 -05:00
Mark Harrah b4c5168d1f Fix '/' operator in Paths 2010-01-20 18:16:31 -05:00
Mark Harrah 1eb42c0af0 rebase for PathMapper 2009-12-05 10:31:06 -05:00
Mark Harrah f139e5a9c1 Changes to assist with scripted testing of sbt 0.6.x series 2009-12-04 21:31:03 -05:00
Mark Harrah dfb7397b8a A basic readLines method and moving the filtered class loader 2009-11-25 13:03:41 -05:00
Mark Harrah 4023e10fd6 New scripted test framework 2009-11-09 09:34:52 -05:00
Mark Harrah b9d04c89b9 Fix jar creation on windows 2009-11-03 19:35:56 -05:00
Mark Harrah 7bb72ecb8b Scaladoc, run, and console interfaces 2009-10-07 21:27:53 -04:00
Mark Harrah 5fa328551c Small improvements to I/O 2009-08-31 10:41:43 -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 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 50d350abd0 Compilation with analysis independent of Scala version of sbt.
Basic test for this.
2009-08-23 22:21:15 -04:00
Mark Harrah 108807a773 Tests and fixes for component manager and cache interface. 2009-08-20 00:02:06 -04:00
Mark Harrah 67e13ad887 Setup interface project for testing 2009-08-18 00:51:08 -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 65fc0e0453 Initial xsbt commit 2009-08-16 14:29:08 -04:00