throw new BuildException(
"Either destination directory or file must be supplied, not both",
getLocation());
}
final FileOutputStream stream = new FileOutputStream(destfile);
output = new ZipMultiReportOutput(stream);
} else {
if (destdir == null) {
throw new BuildException(
"Destination directory or file must be supplied for html report",