+0.

On 03/03/2015 10:59 AM, Marius Dumitru Florea wrote:
> +0
> 
> Thanks,
> Marius
> 
> On Tue, Mar 3, 2015 at 5:17 PM, Guillaume "Louis-Marie" Delhumeau
> <gdelhum...@xwiki.com> wrote:
>> Some news.
>>
>> Less4j 1.9.0 has been released recently and fixes the blocker points we had
>> before.
>>
>> At first, I wanted to add an option to be able to chose which version we
>> want to use in XWiki: the official lessjs or the java port less4j.
>>
>> But I have changed my mind since lessjs have a lot of limitations that
>> less4j does not:
>>
>> - it only handle files, so when I want to include a template (from a skin
>> document for example), I have to create a temporary directory and to put a
>> copy of this template there. It is not clean and complicated to maintain
>> [1].
>> - it has some bugs that less4j does not [2].
>> - we are currently blocked to the version 1.7.x because recent versions of
>> lessjs does not work with Rhino [3].
>>
>> On the other hand, using Less4j is really simple and faster.
>>
>> So I update the proposal and I propose now to only use Less4j and get rid
>> of the lessjs/rhino solution.
>>
>> Here is my +1
>>
>> Thanks,
>> Guillaume
>>
>> [1]:
>> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-6.4.2/xwiki-platform-core/xwiki-platform-lesscss/xwiki-platform-lesscss-default/src/main/java/org/xwiki/lesscss/internal/compiler/CachedIntegratedLESSCompiler.java#L103
>> [2]: https://github.com/less/less.js/issues/1968
>> [3]: https://github.com/less/less.js/issues/2316

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to