reporters = Maps.newHashMap();
REGISTRIES.put(registry, reporters);
}
CsvReporter reporter = reporters.get(outputDir);
if (reporter == null) {
Builder reporterBuilder = CsvReporter.forRegistry(registry)
.filter(filter)
.convertDurationsTo(defaultDurationUnit)
.convertRatesTo(defaultRateUnit)
.formatFor(locale);
reporter = reporterBuilder.build(outputDir);
outputDir.mkdirs();
if (!outputDir.isDirectory()) {
throw new MorphlineCompilationException("Directory not found: " + outputDir, config);
}
if (!outputDir.canWrite()) {