From 6e33aa3d8cfb804812a334da915aa000d30162d6 Mon Sep 17 00:00:00 2001 From: Costin Manolache Date: Wed, 1 Aug 2001 23:20:22 +0000 Subject: [PATCH] Small fix in Zip.java. In ant1.3 you can specify the prefix ( for war, zip, etc ), that doesn't seem to work anymore ( since will create a simple filest, without the prefix attribute ). If we create a ZipFileSet instead of FileSet everything works again. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269436 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Zip.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Zip.java b/src/main/org/apache/tools/ant/taskdefs/Zip.java index 7691db47a..94afbf223 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Zip.java +++ b/src/main/org/apache/tools/ant/taskdefs/Zip.java @@ -140,7 +140,7 @@ public class Zip extends MatchingTask { /** * Adds a set of files (nested fileset attribute). */ - public void addFileset(FileSet set) { + public void addFileset(ZipFileSet set) { filesets.addElement(set); }