Skip to content
Browse files

fix failing functional test

  • Loading branch information...
1 parent 58351ac commit 53fc75922c3305f20eb21e97ba13c5440e00a251 @graemerocher graemerocher committed Sep 11, 2012
View
3 ...ain/groovy/org/codehaus/groovy/grails/plugins/publishing/PluginDescriptorGenerator.groovy
@@ -136,7 +136,8 @@ class PluginDescriptorGenerator {
if (pluginProps[p]) "${p}"(pluginProps[p])
}
xml.resources {
- File commonResourceBase = filterPluginDir(pluginProps['pluginDir']?.file)
+ final pluginDir = pluginProps['pluginDir'] instanceof String ? new File(pluginProps['pluginDir']) : pluginProps['pluginDir']?.file
+ File commonResourceBase = filterPluginDir(pluginDir)
for (r in resourceList) {
def matcher = r.URL.toString() =~ ARTEFACT_PATTERN

0 comments on commit 53fc759

Please sign in to comment.
Something went wrong with that request. Please try again.