Interesting...to be honest I'm not sure. Less css compilation is managed by wro4j. Taking a guess and looking through the pom files, it appears that wro4j depends on less4j. It's possible that native less is overriding the default implementation and causing an issue?
On Sun, Oct 27, 2013 at 9:31 PM, Gonzalo Aguilar Delgado <[email protected]> wrote: > Sorry for the post. > > But it seems there is a bug. I realized that removing lessjs from my system > made everything work again. > > I'm using ubuntu and I had to remove: > > 1. libjs-less -> v 1.4.2-1 > 2. node-less -> 1.4.2-1 > > With this installed won't compile. > > Maybe you have to take a look because I'm lost on this. > > > > > El 28/10/13 04:27, Gonzalo Aguilar Delgado escribió: > >> Hello Erin, >> >> I'm still getting the problem processing LESS. With version 0.23-SNAPSHOT. >> >> I checked out the rave code and made a compile without touching anything >> more and the error shows up again. >> >> [ERROR] Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.6.1:run >> (default) on project rave-portal-resources: Exception occured while >> processing: Error in LESS: >> [ERROR] ParseError: Unrecognised input in rave on line 922, column 7: >> [ERROR] 921 .spanX (@index) when (@index > 0) { >> [ERROR] 922 (~".span@{index}") { .span(@index); } >> [ERROR] 923 .spanX(@index - 1); >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :rave-portal-resources >> >> >> Do you have any idea on what can this be? >> >> Thank you in advance. >> >> >> >> El 03/09/13 21:22, Erin Noe-Payne escribió: >>> >>> Gonzalo, >>> >>> I am not able to reproduce this less compilation error building from >>> trunk. As Dan mentioned we have seen issues in Windows where file >>> paths with space characters were causing issues...maybe this would be >>> related. >>> >>> Regarding rave.js being included in the page - on any page where you >>> see that code block calling rave.init(), I would expect it to be >>> wrapped with a require call. Something like... >>> >>> require(['rave', ...], function(rave, ...) { }); >>> >>> Is that not the case? >>> >>> On Mon, Sep 2, 2013 at 4:14 PM, Gonzalo Aguilar Delgado >>> <[email protected]> wrote: >>>> >>>> Hi Erin, >>>> >>>> Right. I've also seen that rave.js is not included into the page. >>>> >>>> So page fails on render because >>>> >>>> $(function(){ >>>> rave.init(); >>>> }); >>>> >>>> Cannot be called. I don't know if this has something to do with the last >>>> compile error. For now I'm using 0.23-SNAPSHOT from the repos because I >>>> was >>>> unable to compile. >>>> >>>> Thank you Erin. >>>> >>>> >>>> El 02/09/13 21:35, Erin Noe-Payne escribió: >>>> >>>>> This is in trunk, correct? >>>>> >>>>> On Mon, Sep 2, 2013 at 2:35 PM, Gonzalo Aguilar Delgado >>>>> <[email protected]> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I'm trying to compile last version of the Rave portal and I get this: >>>>>> >>>>>> [ERROR] Failed to execute goal >>>>>> ro.isdc.wro4j:wro4j-maven-plugin:1.6.1:run >>>>>> (default) on project rave-portal-resources: Exception occured while >>>>>> processing: Error in LESS: >>>>>> [ERROR] ParseError: Unrecognised input in rave on line 922, column 7: >>>>>> [ERROR] 921 .spanX (@index) when (@index > 0) { >>>>>> [ERROR] 922 (~".span@{index}") { .span(@index); } >>>>>> [ERROR] 923 .spanX(@index - 1); >>>>>> [ERROR] -> [Help 1] >>>>>> [ERROR] >>>>>> >>>>>> In file of rave-portal-resources. >>>>>> >>>>>> src/main/webapp/static/css/bootstrap/less/mixins.less >>>>>> >>>>>> >>>>>> I don't know much about less but it seems correct to me. >>>>>> >>>>>> >>>>>> Any ideas? >>>>>> >>>>>> thank you in advance >>>> >>>> >> >
