[root]/proposal/myrmidon/src/java/org/apache/aut/vfs/impl
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 18 (100.0%) | 278 (100.0%) | 15.4 |
adammurdoch | 11 (61.1%) | 265 (95.3%) | 24.0 |
donaldp | 7 (38.9%) | 13 (4.7%) | 1.8 |
zappity zap
0 lines of code changed in:
VFS Additions:
* Added FileSelector, which allows files to be chosen when doing recursive
operations. Added a couple of implementations. Added a selector parameter
to FileObject.delete() and copy().
* Added FileObject.replicateFile(), which converts a FileObject into a local File.
* Moved replication code out of the Zip provider, into a shared FileReplicator
component. The implemenation is pretty brain-dead, but at very least should
properly clean up temporary files in ant_vfs_cache. Also, local files will
no longer be replicated, but used directly.
* Added FileName.getRelativeName(), and NameScope.DESCENDENT_OR_SELF.
* Now handles providers which are LogEnabled and Disposable.
* Made the local file provider pluggable.
* Providers are now responsible for thier own caching.
* FTP and Zip providers clean up properly. Fixed FTP directory delete.
94 lines of code changed in:
final static --> static final to follow JLS recomendations
1 lines of code changed in:
VFS Tidy-ups:
* Added FileObject.copy().
* Renamed <v-copy> task attributes file -> srcfile, tofile -> destfile, todir -> destdir.
* Moved provider instantiation out of DefaultFileSystemManager, and into
myrmidon-aware VfsManager. Providers are instantiated using the TypeManager.
The list of providers isn't configurable yet.
* Some support for %nn encoded URI (not quite complete).
* Zip file system now handles zip files from any file system, not just local
files. Still read-only at this stage. Uses a truely dodgy and very temporary
replication mechanism.
* Zip file system now handles relative paths in URI (e.g. zip:relpath.zip), that are
resolved against the base dir.
* Fixed bug in resolving names against the root file of a file system.
* Changed behaviour of FileName.resolveName( ".." ) for the root file of
a file system.
* Added more test cases.
* A bucketload of other minor changes.
84 lines of code changed in:
* Added another FileSystemManager.resolveFile() convenience method.
* Made a heap of stuff final.
27 lines of code changed in:
Fix error message.
1 lines of code changed in:
Fix up audit violations
7 lines of code changed in:
Style touchups
5 lines of code changed in:
Move DefaultFileSystemManager to impl package, to get rid of circular package dependency.
59 lines of code changed in: