ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs GZip.java
Date Mon, 17 Sep 2001 05:52:45 GMT
donaldp     01/09/16 22:52:45

  Modified:    .        build.xml
               src/main/org/apache/tools/ant/taskdefs GZip.java
  Log:
  Revert to old gzip interface.
  
  Revision  Changes    Path
  1.185     +2 -2      jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.184
  retrieving revision 1.185
  diff -u -r1.184 -r1.185
  --- build.xml	2001/09/13 05:21:04	1.184
  +++ build.xml	2001/09/17 05:52:45	1.185
  @@ -514,7 +514,7 @@
           <exclude name="${dist.name}/lib/optional.jar"/>
         </tarfileset> 
       </tar>
  -    <gzip tofile="${dist.base}/${dist.name}-bin.tar.gz" 
  +    <gzip zipfile="${dist.base}/${dist.name}-bin.tar.gz" 
             src="${dist.base}/${dist.name}-bin.tar"/>
       <delete file="${dist.base}/${dist.name}-bin.tar"/>
       <copy file="${dist.name}/lib/optional.jar" tofile="${dist.base}/${dist.name}-optional.jar"/>
  @@ -539,7 +539,7 @@
           <exclude name="${dist.name}/build.sh"/>
         </tarfileset>
       </tar> 
  -    <gzip tofile="${dist.base}/${dist.name}-src.tar.gz" 
  +    <gzip zipfile="${dist.base}/${dist.name}-src.tar.gz" 
             src="${dist.base}/${dist.name}-src.tar"/>
       <delete file="${dist.base}/${dist.name}-src.tar"/>
       <delete dir="${dist.name}" />
  
  
  
  1.11      +1 -6      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/GZip.java
  
  Index: GZip.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/GZip.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- GZip.java	2001/09/12 16:43:26	1.10
  +++ GZip.java	2001/09/17 05:52:45	1.11
  @@ -72,13 +72,8 @@
       private File zipFile;
       private File source;
       
  -    public void setTofile(File file) {
  -        zipFile = file;
  -    }
  -
       public void setZipfile(File zipFile) {
  -        log("DEPRECATED - The zipfile attribute is deprecated. Use tofile attribute instead.");
  -        setTofile( zipFile );
  +        this.zipFile = zipFile;
       }
   
       public void setSrc(File src) {
  
  
  

Mime
View raw message