Browse Source

<zip> update ignored defaultexcludes, PR 33412

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277685 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
782e451151
2 changed files with 5 additions and 0 deletions
  1. +3
    -0
      WHATSNEW
  2. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/Zip.java

+ 3
- 0
WHATSNEW View File

@@ -322,6 +322,9 @@ Fixed bugs:
connetced to, potentially leading to exceptions in commons-net.
Bugzilla Report 33618.

* <zip>'s defaultexcludes attribute was ignored when an archive was
updated. Bugzilla Report 33412.

Changes from Ant 1.6.1 to Ant 1.6.2
===================================



+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/Zip.java View File

@@ -524,6 +524,8 @@ public class Zip extends MatchingTask {
ZipFileSet oldFiles = new ZipFileSet();
oldFiles.setProject(getProject());
oldFiles.setSrc(renamedFile);
oldFiles.setDefaultexcludes(getImplicitFileSet()
.getDefaultexcludes());

for (int i = 0; i < addedFiles.size(); i++) {
PatternSet.NameEntry ne = oldFiles.createExclude();


Loading…
Cancel
Save