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/taskdefs Tar.java
Date Thu, 03 May 2001 13:10:33 GMT
bodewig     01/05/03 06:10:33

  Modified:    src/main/org/apache/tools/ant/taskdefs Tar.java
  Log:
  Make tarfilesets work.
  
  PR: 1543
  Submitted by:	Steve.Langley@ebay.sun.com
  
  Revision  Changes    Path
  1.17      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tar.java
  
  Index: Tar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Tar.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Tar.java	2001/05/03 12:27:52	1.16
  +++ Tar.java	2001/05/03 13:10:30	1.17
  @@ -212,7 +212,7 @@
                   TarFileSet fs = (TarFileSet)e.nextElement();
                   String[] files = fs.getFiles(project);
                   for (int i = 0; i < files.length; i++) {
  -                    File f = new File(baseDir,files[i]);
  +                    File f = new File(fs.getDir(project), files[i]);
                       String name = files[i].replace(File.separatorChar,'/');
                       tarFile(f, tOut, name, fs);
                   }
  
  
  

Mime
View raw message