/**
* Invoked after the Ant has finished running, and in the master, not in the Ant process.
*/
void end(Launcher launcher) throws IOException, InterruptedException {
for (Map.Entry<ModuleName,ProxyImpl2> e : sourceProxies.entrySet()) {
ProxyImpl2 p = e.getValue();
for (Publisher publisher : modulePublishers.get(e.getKey())) {
// we'd love to do this when the module build ends, but doing so requires
// we know how many task segments are in the current build.
publisher.perform(p.owner(),launcher,listener);
p.appendLastLog();
}
p.close();
}
}