FYI: I've created an Ant task for converting LessCSS files o regular CSS. Features: - converts .less files to .css - supports both lessc and plessc, the LessPHP alternative (at least one is required) - supports time-outs - only processes changed files - supports separate source/target directories, with include/exclude patterns
It's available under de BSD-license for download from github: http://github.com/znerd/lesscss-ant-task/ Notes: - for lessc (tested lessc v1.1.13) to work to fail properly when lesscs fails, a minor change to one of the lessc files is required, this may be resolved in an upcoming version of the task and/or an upcoming version of lessc - plessc v0.1.6 works well with the task, but has a rather annoying bug related to negative background positions, see: http://github.com/leafo/lessphp/issues#issue/4 For more information on LessCSS, see: http://lesscss.org/ For more information on LessPHP, see: http://leafo.net/lessphp/ Check out the README file for instructions and suggestions. Kind regards, Ernst de Haan PensioenPage B.V. www.pensioenpage.com