-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error for valid LESS files #1
Comments
+1 Windows7 x64 2012-04-14 01:43:12,318 [Thread-12] ERROR resourceMappers.LessResourceMapper - Error compiling less file: grails-resources\plugins\twitter-bootstrap-2.0.2.25\less\bootstrap.less |
Same here Windows7 x64 | Error 2012-04-16 17:38:51,141 [pool-7-thread-1] ERROR resourceMappers.LessResourceMapper - Error compiling less file: D:\Cupto.grails\2.0.1\projects\votacion\tomcat\work\Tomcat\localhost\votacion\grails-resources\plugins\twitter-bootstrap-2.0.0.16\less\bootstrap.less |
I get this error using : Using same project, less compiles fine on : |
I guess compile issue is only on Windows. What is file encoding of your .less file? |
STS tells me it's inherited from container : Cp1252. Tried to set it manually to UTF-8 or US-ASCII to no luck. |
No, I get the error on OSX |
I went into LessCompilerService.groovy and had it write out the script right before the compile error. The compiler indicates that character issue is on line 17749. From that output script, this is the text on that line: compile('C:\Users\along.grails\2.0.3\projects\bootstrap\tomcat\work\Tomcat\localhost\bootstrap\grails-resources\plugins\twitter-bootstrap-2.0.2.25\less\bootstrap.less', ['C:\Users\along.grails\2.0.3\projects\bootstrap\plugins\twitter-bootstrap-2.0.2.25.\web-app\less']); I did verify that the exact same app works fine in linux and that same line reads: compile('/home/along/.grails/2.0.3/projects/boottest/tomcat/work/Tomcat/localhost/boottest/grails-resources/plugins/twitter-bootstrap-2.0.2.25/less/bootstrap.less', ['/home/along/.grails/2.0.3/projects/boottest/plugins/twitter-bootstrap-2.0.2.25/./web-app/less/']); Do the slashes need to be escaped for windows? |
Ok, I submitted a pull request with an updated version that seems to work on both Windows and Linux. |
I'm switching over from the lesscss-resources plugin and getting the following error on startup for all my LESS files:
The resource declaration is like this:
The text was updated successfully, but these errors were encountered: