Permalink
Browse files

substitute variables in custom repository definitions

  • Loading branch information...
1 parent b3e5c2a commit 03497bd48c42bb02a753aa4ccc6227b3d8d12938 @harrah committed Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 launch/ConfigurationParser.scala
@@ -171,7 +171,7 @@ class ConfigurationParser
m.toList.map {
case (key, None) => Predefined(key)
case (key, Some(value)) =>
- val r = trim(value.split(",",3))
+ val r = trim(substituteVariables(value).split(",",3))
val url = try { new URL(r(0)) } catch { case e: MalformedURLException => error("Invalid URL specified for '" + key + "': " + e.getMessage) }
if(r.length == 3) Ivy(key, url, r(1), r(2)) else if(r.length == 2) Ivy(key, url, r(1), r(1)) else Maven(key, url)
}

0 comments on commit 03497bd

Please sign in to comment.