Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 1.1.6
-
Fix Version/s: None
-
Labels:None
Description
When there are multiple plugins providing the same file, grails just takes one of them in an unclear manner.
E.g.: modules = { core
{ resource uri='/images/favicon.ico' }}
Many plugins provide the default grails favicon, thus the above declaration fails to point to the correct one. The documentation has no info on how to do it or if it's actually possible.
Something like this would be good: modules = { core
{ resource uri='/images/favicon.ico', plugin='myguiplugin' }}
A current workaround is to rename the file in question and hope that no other plugin will ever provide a file with the same name.
Use the existing support for this:
resource uri:[dir:'css', file:'xxx.css', plugin:'whateverName']