[
https://issues.apache.org/jira/browse/COMPRESS-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054439#comment-13054439
]
Claire Salac commented on COMPRESS-135:
---------------------------------------
Stefan,
InnerContents is an array of Files (File [] InnerContents;). Are you saying I
could use zippy.setTime() to manually set the date stored in the archive for
each file? I think I can make that work. Thank you so much!
> Original file creation date is not retained when files are added to a zip
> archive
> ----------------------------------------------------------------------------------
>
> Key: COMPRESS-135
> URL: https://issues.apache.org/jira/browse/COMPRESS-135
> Project: Commons Compress
> Issue Type: Bug
> Components: Archivers
> Affects Versions: 1.1
> Environment: Windows XP & Server 2003
> Reporter: Claire Salac
>
> I have a Java program using the Apache zip archives library to zip together
> files with a common create month. However, when the resulting zip archives
> are examined the create date of all the files in the archive has been changed
> to the date the archive was created. It is critical that we retain the create
> date in these archives as they will be used for troubleshooting at a future
> date. Is there a way that this can be done currently, or is it something that
> will need to be addressed in a future build?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira