|
|
|
@@ -169,4 +169,17 @@ |
|
|
|
<unzip src="${output}/test.zip" dest="${output}/expand"/> |
|
|
|
<au:assertFileExists file="${output}/expand/test1.txt"/> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="testUpdateZipWithDuplicateEntries" |
|
|
|
description="https://issues.apache.org/bugzilla/show_bug.cgi?id=54967"> |
|
|
|
<mkdir dir="${input}/"/> |
|
|
|
<touch file="${input}/test1.txt"/> |
|
|
|
<mkdir dir="${output}"/> |
|
|
|
<zip destfile="${output}/test.zip" basedir="${input}"> |
|
|
|
<fileset dir="${input}"/> |
|
|
|
</zip> |
|
|
|
<zip destfile="${output}/test.zip" update="true"> |
|
|
|
<fileset dir="${basedir}" includes="build.xml"/> |
|
|
|
</zip> |
|
|
|
</target> |
|
|
|
</project> |