@Override
protected CompilationResult compile(File lessFile, File cssOutput) throws Less4jException {
try {
String less = IOUtils.toString(new FileReader(lessFile));
LessCompiler compiler = getCompiler();
Configuration configuration = createConfiguration(cssOutput);
CompilationResult actual = compiler.compile(new StringSource(less), configuration);
return actual;
} catch (IOException ex) {
throw new RuntimeException("Can not read less file " + lessFile.getName(), ex);
}
}