google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

wro4j chokes on less import inline statements #914

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a less file that imports a css file inline
    @import (inline) "yourfile.css";
2.run wro4j

This causes a complete failure.

[INFO] processing group: yourfile.css
[ERROR] exitStatus: 1
[WARNING] Exception while applying NodeLessCssProcessor processor on the 
/yourfile.less resource, no processing applied...
ro.isdc.wro.WroRuntimeException: Error in LESS:
ParseError: Unrecognised input in /yourfile.less on line 2910, column 2:
2909
2910  "yourfile.css";
2911  "yourfile2.css";

    at ro.isdc.wro.extensions.processor.css.NodeLessCssProcessor.process(NodeLessCssProcessor.java:116) 

I tried versions 1.7.0 and 1.7.7. on OSX.

Please provide any additional information below.

Running the command directly in node with lessc version 1.5 works just fine. I 
think it works in 1.4 aswell.

Original issue reported on code.google.com by Jhicken on 13 Jan 2015 at 8:40