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: [EMAIL PROTECTED] 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.