[ 
https://issues.apache.org/jira/browse/FELIX-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888616#action_12888616
 ] 

Josh Holtzman commented on FELIX-2474:
--------------------------------------

http://commons.apache.org/codec/apidocs/org/apache/commons/codec/digest/DigestUtils.html#md5Hex%28java.io.InputStream%29
 on a FileInputStream is very fast and should work even if the file size is 
pre-allocated.  I don't know if you want to create a dependency on another 
library, though.

> Fileinstall scanner's checksum not always sufficient
> ----------------------------------------------------
>
>                 Key: FELIX-2474
>                 URL: https://issues.apache.org/jira/browse/FELIX-2474
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-3.0.0
>            Reporter: Josh Holtzman
>            Priority: Minor
>
> When doing a file copy using the Finder on a mac, the attributes used to 
> generate the file's checksum do not change while the file is being copied.  
> This results in fileinstall processing a file before it is fully copied.  
> Both cp and scp work as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to