ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/types ZipFileSet.java
Date Mon, 02 Apr 2001 08:05:58 GMT
bodewig     01/04/02 01:05:58

  Modified:    src/main/org/apache/tools/ant/types ZipFileSet.java
  Log:
  make sure ZipFileSet works if the current working directory doesn't exist.
  
  Submitted by:	David Rees <d.rees.l@usa.net>
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/types/ZipFileSet.java
  
  Index: ZipFileSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/types/ZipFileSet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ZipFileSet.java	2001/01/30 10:56:08	1.2
  +++ ZipFileSet.java	2001/04/02 08:05:57	1.3
  @@ -165,7 +165,7 @@
           if (srcFile != null) {
               ZipScanner zs = new ZipScanner();
               zs.setSrc(srcFile);
  -            super.setDir(new File("."));
  +            super.setDir(p.getBaseDir());
               setupDirectoryScanner(zs, p);
               zs.init();
               return zs;
  
  
  

Mime
View raw message