[root]/proposal/myrmidon/src/java/org/apache/aut/vfs/provider/zip
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 25 (100.0%) | 222 (100.0%) | 8.8 |
adammurdoch | 15 (60.0%) | 217 (97.7%) | 14.4 |
donaldp | 10 (40.0%) | 5 (2.3%) | 0.5 |
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.
40 lines of code changed in:
final static --> static final to follow JLS recomendations
1 lines of code changed in:
Converted remaining xdoclet tags from
ant:* --> ant.*
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.
124 lines of code changed in:
Zap some audit warnings
2 lines of code changed in:
Style touchups
1 lines of code changed in:
Added VFS proposal.
53 lines of code changed in: