IOUtils.write(result, new FileOutputStream(lessSourceOutput));
log.debug("Full Less source from include file {0}, using lessCssJavascript at {1}"
+ ", is at {2}, output css will be written to {3}",
lessIncludeFilepath, lessCssJavascriptUrl.toString(), lessSourceOutput, outputFilepath);
}
LessCompiler compiler = new LessCompiler();
compiler.setLessJs(lessCssJavascriptUrl);
compiler.setCompress(true);
File tempOutputFile = new File(outputFilepath+"tmp");
compiler.compile(lessSource, tempOutputFile);
tempOutputFile.renameTo(new File(outputFilepath));
}