public String compile ( JoinableResourceBundle bundle , String content , String path , GeneratorContext context ) { JawrLessSource source = new JawrLessSource ( bundle , content , path , rsHandler ) ; try { CompilationResult result = compiler . compile ( source , lessConfig ) ; addLinkedResources ( path , context , source . getLinkedResources ( ) ) ; return result . getCss ( ) ; } catch ( Less4jException e ) { throw new BundlingProcessException ( "Unable to generate content for resource path : '" + path + "'" , e ) ; } }
Compile the LESS source to a CSS source