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=38679>. 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=38679 Summary: MD5 file comparison failed whereas it should not Product: Commons Version: unspecified Platform: All OS/Version: other Status: NEW Severity: major Priority: P1 Component: VFS AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I have create a FileManipulator class to perform different actions with files. This class especilly contains a fileCompare method which compute the MD5 sum of two input stream from FileObject. For exemple, I perform : FileManipulator fileManipulator = FileManipulator.getInstance(); boolean fileDifferent = fileManipulator.fileCompare("tgz:http://remote/application.tar.gz!/applications/myapp.ear", "/tmp/myhome.ear"); The method always returns true (so files have different MD5 sum) even when the files are the same (when I first copy myapp.ear from tar.gz archive). May VFS caches be a problem ? You can view the source code of FileManipulator at : http://cvs.sourceforge.net/viewcvs.py/buildprocess/AutoDeploy/src/java/net/sourceforge/buildprocess/autodeploy/FileManipulator.java?view=markup Thanks a lot for your help, because I have performs a lot of test and tries when I suspect the problem is around VFS. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
