Mark Harrah
81babda6f6
work around URI problems with encoding and resolving. Fixes #725
2013-04-12 12:47:44 -04:00
Mark Harrah
f6d73128fc
deprecations
2013-02-25 09:24:04 -05:00
Mark Harrah
ce439efab3
Convert references to harrah/xsbt to sbt/sbt
2013-01-04 17:22:40 -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
Josh Suereth
0c08c1169e
Bumped the Scalatest/Specs versions for 2.10.0-RC3
...
* Modified tests to use mutable Specs API
* Fixed a few minor specs issues.
2012-12-04 13:10:09 -05:00
Mark Harrah
1bc26fa488
When preserving last modified, convert negative values to 0
...
File.lastModified can return a negative number, but File.setLastModified doesn't accept
negative numbers. See Java bug #6791812 .
2012-11-16 09:56:01 -05:00
Eugene Vigdorchik
761a441805
Filter out null parent files when deleting empty directories. Closes #589 .
2012-11-12 14:45:01 -05:00
Mark Harrah
b451761478
fix broken commit
2012-11-05 10:09:39 -05:00
Mark Harrah
b6ff789d44
Work around File constructor not accepting URIs for UNC paths. Fixes #564 .
2012-11-05 10:02:33 -05:00
Mark Harrah
29dd76da85
defer opening logging output files until an actual write
2012-08-27 10:49:13 -04:00
Mark Harrah
b6b78618f5
in IO.copyFile, limit maximum size transferred via NIO. fixes #491
2012-07-06 10:28:51 -04:00
Mark Harrah
d8f5c39465
remove most occurrences of ScalaObject
2012-07-01 15:16:41 -04:00
Eugene Vigdorchik
e6f858f292
Test RichURI.
2012-06-15 07:54:14 -04:00
Eugene Vigdorchik
945fdd5baa
Use raw methods on URI where a single string representation is constructed. URI(String) assumes no special characters.
2012-06-15 07:54:14 -04:00
Eugene Vigdorchik
47c9645892
Use raw method not to unescape special characters. Fixes #478
2012-06-12 07:15:17 -04:00
Mark Harrah
4e6cbd7304
delete symlink and not its contents when recursively deleting a directory
2012-05-11 21:24:05 -04:00
Mark Harrah
9f80180859
buffer url input stream returned by Using. fixes #437
2012-04-30 20:50:28 -04:00
Mark Harrah
7109bc9637
configuration via ivysettings.xml: use URI instead of URL and make 'inter-project' resolver available for multi-project builds. ref #416
2012-04-11 22:40:45 -04:00
Michael Allman
ba2e42287b
Add support for loading Ivy settings from a URL
2012-04-08 20:22:15 -07:00
Mark Harrah
f94eae15b6
merge test forking from vigdorchik/xsbt/wip_fork_test
2012-04-06 20:48:31 -04:00
Eugene Vigdorchik
7afc9e77c6
\'fork in test\' initial implementation.
2012-04-01 11:44:05 +04:00
Mark Harrah
6fb1934efa
filter detected binary plugins by classpath now that plugin class loader is shared. fixes #412
2012-03-31 21:51:01 -04:00
Mark Harrah
c6f28c650d
option to preserve last modified time of files extracted from zip file. enabled by default. fixes #389
2012-03-10 14:26:09 -05:00
Mark Harrah
868196e652
delete empty parent directories of deleted class files. fixes #387
2012-03-05 13:40:17 -05:00
Sanjin Sehic
972acc871a
Allow retrieving of non-standard git URIs
...
Non-standard git URIs are ones that do not start with 'git:' nor end
with '.git'. An example of non-standard git URI is
'ssh://server/home/user/repo'.
The mechanism for specifying a non-standard git URI is done by
prefixing the whole URI with 'git:' to signify that it should be
handled with the git resolver. For example, non-standard git URIs like
'git:ssh://server/user/repo' and 'git:https://server/user/repo ' can
now be used.
2012-02-13 22:02:44 -05:00
Sanjin Sehic
77626f5232
Optimize retrieving from git repositories
...
Instead of cloning from a remote git repository for each branch,
revision or tag separately, the git resolver locally clones only once
the remote git repository and then creates further local clones from
this local copy of the remote repository.
First, optimization, of course, is execution speed, because cloning
local repository is much faster than remote repository. Furthermore,
because git uses hard-linking when a clone of local repository is
created, the second optimization is in space consumption.
For example, if we have one project that uses
https://github.com/harrah/xsbt.git#v0.11.1 and second project that
uses https://github.com/harrah/xsbt.git#v0.11.2 , in previous git
resolver implementation it would require two separate clones of the
remote git repository at https://github.com/harrah/xsbt.git . But, the
new git resolver requires only one clone of the remote git repository
and two local clones which take no space because of hard-linking.
2012-02-13 22:02:44 -05:00
Sanjin Sehic
942427bfa3
Extract local, remote, and git BuildLoader.Resolver from ResolveUnit
2012-02-13 22:02:44 -05:00
Mark Harrah
d82757f595
more IO API documentation
2012-01-26 21:28:19 -05:00
Mark Harrah
f55d34f617
Add Path.allSubpaths and API documentation for mappers
2012-01-26 21:28:19 -05:00
Mark Harrah
ec48779829
moved task axis before the key
2012-01-09 08:00:29 -05:00
Mark Harrah
faa0809146
IO.touch operates on absolute file
2011-12-13 17:29:08 -05:00
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