Browse Source

log where directories get created

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676595 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
d2c31ad398
2 changed files with 6 additions and 2 deletions
  1. +1
    -1
      WHATSNEW
  2. +5
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java

+ 1
- 1
WHATSNEW View File

@@ -160,7 +160,7 @@ Other changes:
Bugzilla report 35627.

* <ftp>'s logging has been improved.
Bugzilla report 30932.
Bugzilla reports 30932, 31743.

Changes from Ant 1.7.0 TO Ant 1.7.1
=============================================


+ 5
- 1
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java View File

@@ -2205,7 +2205,11 @@ public class FTP
throws IOException, BuildException {
String workingDirectory = ftp.printWorkingDirectory();
if (verbose) {
log("Creating directory: " + dir);
if (dir.indexOf("/") == 0 || workingDirectory == null) {
log("Creating directory: " + dir + " in /");
} else {
log("Creating directory: " + dir + " in " + workingDirectory);
}
}
if (dir.indexOf("/") == 0) {
ftp.changeWorkingDirectory("/");


Loading…
Cancel
Save