diff --git a/extra-targets.xml b/extra-targets.xml index 2c76ebd9617..7fecf15b924 100644 --- a/extra-targets.xml +++ b/extra-targets.xml @@ -101,6 +101,7 @@ inline="true" conf="default" transitive="true" pathid="svnkit.classpath"/> + withKeywords.add(convertRelative(file)); } as ISVNPropertyHandler); - def convertSet2String = { - set -> set ? ('* ' + set.join(project.getProperty('line.separator') + '* ')) : null + def setProjectPropertyFromSet(prop, set) { + if (set) { + properties[prop] = '* ' + set.join(properties['line.separator'] + '* '); + } }; - project.setProperty('svn.checkprops.failed', convertSet2String(missingProps)); - project.setProperty('svn.keywords.failed', convertSet2String(withKeywords)); - project.setProperty('svn.unversioned.failed', convertSet2String(unversioned)); - project.setProperty('svn.changed.failed', convertSet2String(changed)); + setProjectPropertyFromSet('svn.checkprops.failed', missingProps); + setProjectPropertyFromSet('svn.keywords.failed', withKeywords); + setProjectPropertyFromSet('svn.unversioned.failed', unversioned); + setProjectPropertyFromSet('svn.changed.failed', changed); ]]> diff --git a/solr/common-build.xml b/solr/common-build.xml index c8c2a8c30a9..3655ca5b2aa 100644 --- a/solr/common-build.xml +++ b/solr/common-build.xml @@ -320,16 +320,16 @@