paulfairless / grails-lesscss-resources

Grails plugin for using the LESS CSS framework in conjunction with the grails-resource plugin family
Other
35 stars 27 forks source link

Classpath warnings about .less files #19

Open jstoneham opened 12 years ago

jstoneham commented 12 years ago

Using the plugin v1.3.0, I've got my Less files in web-app/less, and configured in the resources config file like: resource url: '/less/main.less', attrs: [rel: "stylesheet/less", type: 'css'], bundle: 'bundle_core' resource url: '/less/profile.less', attrs: [rel: "stylesheet/less", type: 'css'], bundle: 'bundle_core'

When I run grails test-app integration: or grails run-app, I get:

[2012-04-25 04:00:49,687] WARN org.grails.plugin.resource.ResourceProcessor class path resource [less/main.less] cannot be resolved to URL because it does not exist [2012-04-25 04:00:49,711] WARN org.grails.plugin.resource.ResourceProcessor class path resource [less/profile.less] cannot be resolved to URL because it does not exist

though things work fine. The message is from an exception being generated by LesscssResourceMapper line 24 (File input = getOriginalFileSystemFile(resource.sourceUrl);).