ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java
Date Fri, 07 Mar 2003 14:51:59 GMT
conor       2003/03/07 06:51:59

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java
  Log:
  When changing dirs resolve to the coorect separator conventions
  PR:	10755
  
  Revision  Changes    Path
  1.35      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
  
  Index: FTP.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -w -u -r1.34 -r1.35
  --- FTP.java	24 Feb 2003 08:25:19 -0000	1.34
  +++ FTP.java	7 Mar 2003 14:51:59 -0000	1.35
  @@ -667,7 +667,7 @@
               String cwd = ftp.printWorkingDirectory();
               String parent = dir.getParent();
               if (parent != null) {
  -                if (!ftp.changeWorkingDirectory(parent)) {
  +                if (!ftp.changeWorkingDirectory(resolveFile(parent))) {
                       throw new BuildException("could not change to " 
                           + "directory: " + ftp.getReplyString());
                   }
  
  
  

Mime
View raw message