try {
outputConsumer.registerOutputFile(chunk.representativeTarget(),
new File(output),
Collections.singleton(text.substring(COMPILED_PREFIX.length())));
} catch (IOException e) {
context.processMessage(new BuildMessage(e.getMessage(), BuildMessage.Kind.ERROR) {});
}
}
outputs.clear();
}
}