You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/05/19 18:32:26 UTC
DO NOT REPLY [Bug 34942] -
[VFS] no vfs_cache cleanup after ant task completed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34942>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34942
mario@ops.co.at changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[VFS] complete docu about |[VFS] no vfs_cache cleanup
|tar/bz2, no vfs_cache |after ant task completed
|cleanup after ant task |
|completed |
------- Additional Comments From mario@ops.co.at 2005-05-19 18:32 -------
vfs_cache
I tried hard (ant-1.6.4), but I cant reproduce.
Maybe this has something to do with file-locking in windows, but even then a
exception/warning should be thrown.
Could you please try the following code to see if the vfs_cache survive too.
StandardFileSystemManager mg = (StandardFileSystemManager) VFS.getManager();
FileObject fo =
mg.resolveFile("zip:http://archive.apache.org/dist/logging/log4j/1.2.9/logging-log4j-1.2.9.zip!/logging-log4j-1.2.9/dist/lib/log4j-1.2.9.jar");
FileObject fo2 = mg.resolveFile("file:///home/im/tmp/log4j-1.2.9.jar");
fo2.copyFrom(fo, Selectors.SELECT_SELF);
mg.close();
If this is the case, maybe you are able to debug into VFS starting at
org.apache.commons.vfs.impl.DefaultFileReplicator
Line 90: fileObject.delete(Selectors.SELECT_ALL);
Help is welcome. I will try it on windows too but this might take some time as I
currently havent a windows with development tools setup.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org