sheehan / grails-handlebars-resources

This plug-in supports using Handlebars.js templates with the Grails Resources Plugin.
Other
9 stars 8 forks source link

Updated to skip AggregatedResources(Bundled resources) as this cause exceptions when deployed #14

Closed roguejammin closed 10 years ago

roguejammin commented 10 years ago

This is related to issue #12

This issue still occurs for me. I'm deploying to weblogic but I think this still happens on other containers as well. This pull request checks to see if the resource is an instanceof a AggregratedResourceMeta which is the base class for all bundled resource. If the resource is of this class type exit out early. This fixed the issue for me, I think it will help others are well.

What I would see is when map was called with a resource of class JavaScriptBundleResourceMeta when calling getOriginalFileSystemFile(resource.sourceUrl) was made a FileNotFoundException would get thrown and the bundle would never get created.

buildhive commented 10 years ago

sheehan » grails-handlebars-resources #35 SUCCESS This pull request looks good (what's this?)

sheehan commented 10 years ago

thanks!