} catch (final Denied e) {
throw Fail.hard(task, "Cannot create output directory.", e);
}
final TransformConfig config = task.transform();
final Transform transform = transforms.get(config.transform());
Assert.nonNull(transform);
log.info(String.format("Launching transform '%s' with input directory '%s'", transform, inputDirectory));
try {
final TransformResult result = transform.run(task);