changeset 164:7474ff33a1ba

replace @ with - in branch names
author Dave Smith <smith@nwoca.org>
date Thu, 16 Jan 2014 18:51:28 +0000
parents c5f09d617715
children 0975c343fafe
files init.gradle
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/init.gradle	Tue Jan 14 01:16:43 2014 +0000
+++ b/init.gradle	Thu Jan 16 18:51:28 2014 +0000
@@ -43,6 +43,7 @@
 	}	
 }
 
+gradle.branchName = gradle.branchName.replace('@','-')
 loadEnvironments()
 
 gradle.environment.put('hgRepositoryUrl',gradle.hgRepositoryUrl)
@@ -274,7 +275,7 @@
 						name = 'ssdt-branches'
 						m2compatible =  false
 						def url = "${ssdtArtifactory}/ssdt-branches"
-						def filter = ";ssdt-branch.branchName+=${gradle.branchName.replaceAll('/','-')}"
+						def filter = URLEncoder.encode(";ssdt-branch.branchName+=${gradle.branchName.replaceAll('/','-')}")
 						addArtifactPattern("${url}/[organization]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]${filter}")
 						addIvyPattern("${url}${filter}/[organization]/[module]/ivy-[revision].xml")
 						checkmodified = true