commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38679] New: - MD5 file comparison failed whereas it should not
Date Thu, 16 Feb 2006 13:26:54 GMT
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: commons-dev@jakarta.apache.org
        ReportedBy: jb@nanthrax.net


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message