if (var.isValid()) {
InputStreamReader vdoc = new InputStreamReader(var.getVamsasDocumentStream());
VamsasDocument doc = VamsasDocument.unmarshal(vdoc);
- if (ArchiveReports.reportDocument(doc, var, true)) {
+ if (ArchiveReports.reportDocument(doc, var, true, System.out)) {
roots = doc.getVAMSAS();
}
} else {
}
}
}
- if (!ArchiveReports.rootReport(roots, true))
+ if (!ArchiveReports.rootReport(roots, true, System.out))
System.err.print(args[0]+" is not a valid vamsas archive.");
} catch (Exception e) {
e.printStackTrace(System.err);