You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/09/18 09:34:49 UTC

DO NOT REPLY [Bug 45830] New: Cannot overwrite the older entry in the archive

https://issues.apache.org/bugzilla/show_bug.cgi?id=45830

           Summary: Cannot overwrite the older entry in the archive
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build Process
        AssignedTo: notifications@ant.apache.org
        ReportedBy: vladimir.grigoriev@gmail.com


I create jar file. Roll back system time and try to update a jar and merge one
file (config.properties). This doesn't work. If it is ok why copy command has
attribute "overwrite" and jar command doesn't?

How to reproduce:

1. Create folders ant_test, classes and file config.properties
2. Created jar archive
jar cvf ant_test.jar *.* 
3. rollback system time
4. modified config.properties (incremented value of property max.size=2)
5. Executed ant task in build file
  <target name="update_jar">
        <jar destfile="ant_test.jar" update="true">
        <fileset dir="ant_test"/>
        </jar>
  </target>
6. I get warning ( [jar] Warning: classes modified in the future.) and cannot
update config.properties file.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 45830] Cannot overwrite the older entry in the archive

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45830


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 45830] Cannot overwrite the older entry in the archive

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45830


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2009-07-31 07:41:54 PST ---


*** This bug has been marked as a duplicate of bug 22930 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.