Permalink
Browse files

scope the xml builder to avoid name conflicts

  • Loading branch information...
1 parent 543f268 commit cf85114a6b558780dfe88adaf28ffa04a45b84bb @graemerocher graemerocher committed Apr 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/_PluginDependencies.groovy
View
4 scripts/_PluginDependencies.groovy
@@ -174,11 +174,11 @@ generatePluginXml = { File descriptor, boolean compilePlugin = true ->
for( p in props) {
if( pluginProps[p] ) "${p}"(pluginProps[p])
}
- resources {
+ xml.resources {
for(r in resourceList) {
def matcher = r.URL.toString() =~ artefactPattern
def name = matcher[0][1].replaceAll('/', /\./)
- resource(name)
+ xml.resource(name)
}
}
dependencies {

0 comments on commit cf85114

Please sign in to comment.