There was an error while loading. Please reload this page.
2 parents 6c662b3 + 7ef2dc7 commit d82085fCopy full SHA for d82085f
1 file changed
curation-module-core/src/main/java/eu/clarin/cmdi/curation/main/Main.java
@@ -120,10 +120,13 @@ else if (cmd.hasOption("c")) {// collection
120
type = CurationEntityType.COLLECTION;
121
Configuration.COLLECTION_MODE = true;
122
if (cmd.hasOption("path")) {
123
+ Report<?> report;
124
+
125
for (String path : cmd.getOptionValues("path")) {
- //dump(curator.processCollection(Paths.get(path)), type);
- dumpAsXML(curator.processCollection(Paths.get(path)), type);
126
- dumpAsHTML(curator.processCollection(Paths.get(path)), type);
+ report = curator.processCollection(Paths.get(path));
127
128
+ dumpAsXML(report, type);
129
+ dumpAsHTML(report, type);
130
}
131
} else
132
throw new Exception("Only path is allowed for collection curation");
0 commit comments