Browse Source

Deprecated zipfile in favour of file to follow siuit with the other tasks that deal with archives.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269688 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
876a3660c2
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/main/org/apache/tools/ant/taskdefs/GZip.java

+ 7
- 2
src/main/org/apache/tools/ant/taskdefs/GZip.java View File

@@ -72,8 +72,13 @@ public class GZip extends Task {
private File zipFile;
private File source;
public void setZipfile(File zipFilename) {
zipFile = zipFilename;
public void setFile(File file) {
zipFile = file;
}

public void setZipfile(File zipFile) {
log("DEPRECATED - The zipfile attribute is deprecated. Use file attribute instead.");
setFile( zipFile );
}

public void setSrc(File src) {


Loading…
Cancel
Save