Classpath warnings about .less files #19

Open
jstoneham opened this Issue Apr 25, 2012 · 0 comments

Projects

None yet

1 participant

@jstoneham

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);).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment