List<UIAggregate> aggList = getEnabledAggs();
List<String> sqls = new ArrayList<String>();
for (UIAggregate agg : aggList) {
Output output = agg.getOutput();
if (exportDdl) {
try {
sqls.add(outputService.getArtifact(output, CreateScriptGenerator.class));
} catch (OutputValidationException e) {
e.printStackTrace();
return Collections.emptyList();
}
}
}
for (UIAggregate agg : aggList) {
Output output = agg.getOutput();
if (exportDml) {
try {
sqls.add(outputService.getArtifact(output, PopulateScriptGenerator.class) + "\n\n"); //$NON-NLS-1$
} catch (OutputValidationException e) {