This plugin hooks into the Distribution phase of the Resources Plugin and distributes the static resource to a specified location.
grails install-plugin static-content-distribution
v0.1 is not compatiable with the
zipped-resourcesplugin. To use this version of the plugin, you will have to uninstall the
ConfigurationThe plugin is enabled by default, but for it to work, you must configure a directory for the plugin to distribute the content to. If this configuration is not present, the plugin will do nothing. The following configures the static content to be distributed to the
As mentioned the plugin is enabled by default, to disable it configure the following:
grails.resources.mappers.staticcontent.target = '/app/distribution'
grails.resources.mappers.staticcontent.enabled = false
- 0.1 - Initial publication of this plugin.