out = new FileOutputStream(destinationFile);
} catch (Exception t) {
throw new BuildException("Unable to open "
+ destinationFile + " for writing", t);
}
in = new ConcatResourceInputStream(c);
((ConcatResourceInputStream) in).setManagingComponent(this);
Thread t = new Thread(new StreamPumper(in, out));
t.start();
try {
t.join();