+1, I think we already discussed this some time ago but maybe it was
only the two of us

On Tue, Mar 3, 2015 at 4:17 PM, Guillaume "Louis-Marie" Delhumeau
<[email protected]> 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
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to