Browse Source

- fix broken build - change to ConcatResourceInputStream wasn't completed here in Concat

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450679 13f79535-47bb-0310-9956-ffa450edef68
master
Kevin Jackson 18 years ago
parent
commit
c653fb3069
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      src/main/org/apache/tools/ant/taskdefs/Concat.java

+ 2
- 6
src/main/org/apache/tools/ant/taskdefs/Concat.java View File

@@ -483,12 +483,8 @@ public class Concat extends Task {
throw new BuildException("Unable to open "
+ destinationFile + " for writing", t);
}
try {
in = new ConcatResourceInputStream(c);
((ConcatResourceInputStream) in).setManagingComponent(this);
} catch (IOException e) {
throw new BuildException(e);
}
in = new ConcatResourceInputStream(c);
((ConcatResourceInputStream) in).setManagingComponent(this);
Thread t = new Thread(new StreamPumper(in, out));
t.start();
try {


Loading…
Cancel
Save