File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
curation-module-core/src/main/java/eu/clarin/cmdi/curation/main Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,13 @@ else if (cmd.hasOption("c")) {// collection
120
120
type = CurationEntityType .COLLECTION ;
121
121
Configuration .COLLECTION_MODE = true ;
122
122
if (cmd .hasOption ("path" )) {
123
+ Report <?> report ;
124
+
123
125
for (String path : cmd .getOptionValues ("path" )) {
124
- //dump(curator.processCollection(Paths.get(path)), type);
125
- dumpAsXML (curator .processCollection (Paths .get (path )), type );
126
- dumpAsHTML (curator .processCollection (Paths .get (path )), type );
126
+ report = curator .processCollection (Paths .get (path ));
127
+
128
+ dumpAsXML (report , type );
129
+ dumpAsHTML (report , type );
127
130
}
128
131
} else
129
132
throw new Exception ("Only path is allowed for collection curation" );
You can’t perform that action at this time.
0 commit comments