grails-coffeescript-resources icon indicating copy to clipboard operation
grails-coffeescript-resources copied to clipboard

Cannot use coffee resources in plugins

Open alari opened this issue 13 years ago • 1 comments

I faced a problem while working with coffeescript-resources inside my plugin. The problem is: plugin mapper looks the wrong filepath when trying to compile in-plugin's .coffee, so compilation fails.


File input = original // instead of grailsApplication.parentContext.getResource(resource.sourceUrl).file

this line in CoffeeScriptResourceMapper fixes the problem.

alari avatar Sep 22 '12 21:09 alari

I met the same issue also when trying to use https://github.com/benorama/grails-aws-sdk with coffeescript-resources to push resources to s3.

ttyusupov avatar May 06 '13 15:05 ttyusupov