factory,
configuration.getOutput(),
configuration.getBasePackage(),
configuration.getHeaderComments());
ModelOutputEmitter tsvOutEmitter = new ModelOutputEmitter(
factory,
configuration.getOutput(),
configuration.getBasePackage(),
configuration.getHeaderComments());
int successCount = 0;
int failedCount = 0;
for (ModelDescription model : models) {
LOG.info("モデル{}を出力しています (残り{}個のモデル)",
model.getReference(),
(total - successCount - failedCount));
try {
modelEmitter.emit(model);
tsvInEmitter.emit(model);
tsvOutEmitter.emit(model);
successCount++;
} catch (Exception e) {
LOG.error(
MessageFormat.format(
"モデル{0}の出力に失敗しました",