ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-1095) ZipTask should support an option to allow the task to define the last modified date for content stored in the zip, jar, or war.
Date Fri, 07 May 2010 20:14:56 GMT

     [ https://issues.apache.org/jira/browse/IVY-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene updated IVY-1095:
-------------------------------

    Fix Version/s: 2.2.0-RC1
                       (was: trunk)

> ZipTask should support an option to allow the task to define the last modified date for
content stored in the zip, jar, or war.
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IVY-1095
>                 URL: https://issues.apache.org/jira/browse/IVY-1095
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Ant
>    Affects Versions: trunk
>            Reporter: Mark Farnsworth
>             Fix For: 2.2.0-RC1
>
>         Attachments: Zip.java.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Currently with ANT Tasks it is not possible to fully control the way Zip, Jar, Ear, or
War files are produced.   The issue is that the default behavior of the task includes the
last modified date information from the file system when in creates an archive.  The result
is that with the exact same source code the archive produced from any given build will vary
based on where and when the build was run.  In an environment like HUDSON where you wish to
build on different servers, from different branches, and at different times this is problematic
since the MD5 hash value of the artifact the build produces will not reflect the content of
the code but rather reflect a combination of the content of the code and the current time
of the server where the build was run.
> ANT should support an option for the task to define the last modified date of the archive.
 If support for this option is added to the Zip task then it will be automatically available
in tasks that extend it.
> The patch file attached to this issue provides an implementation of the last modified
attribute and can be applied to SVN revision 784603 of Zip.java.

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


Mime
View raw message