Browse Source

Properties#list shortens values in output

master
Stefan Bodewig 7 years ago
parent
commit
d88b87fd8b
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java

+ 7
- 0
src/main/org/apache/tools/ant/taskdefs/optional/unix/Symlink.java View File

@@ -553,8 +553,15 @@ public class Symlink extends DispatchTask {
+ " or its parent dir; skipping it.");
continue;
}
try {
lnks.store(new PrintStream(
new LogOutputStream(this, Project.MSG_INFO)),
"listing properties");
} catch (IOException ex) {
log("failed to log unshortened properties");
lnks.list(new PrintStream(
new LogOutputStream(this, Project.MSG_INFO)));
}
// Write the contents to our master list of links
// This method assumes that all links are defined in
// terms of absolute paths, or paths relative to the


Loading…
Cancel
Save