From 02421e46f5808d2b4b72f096e8f86d069d6cc133 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Tue, 19 Apr 2011 22:21:59 -0400 Subject: [PATCH] fix doubled cache when boot Ivy directory configured --- main/Defaults.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Defaults.scala b/main/Defaults.scala index 069edd59c..740b2f373 100644 --- a/main/Defaults.scala +++ b/main/Defaults.scala @@ -496,7 +496,7 @@ object Classpaths moduleID <<= normalizedName.identity, defaultConfiguration in GlobalScope :== Some(Configurations.Compile), defaultConfigurationMapping in GlobalScope <<= defaultConfiguration{ case Some(d) => "*->" + d.name; case None => "*->*" }, - ivyPaths <<= (baseDirectory, appConfiguration) { (base, app) => new IvyPaths(base, Option(app.provider.scalaProvider.launcher.ivyHome).map(_ / "cache")) }, + ivyPaths <<= (baseDirectory, appConfiguration) { (base, app) => new IvyPaths(base, Option(app.provider.scalaProvider.launcher.ivyHome)) }, otherResolvers <<= publishTo(_.toList), projectResolver <<= projectResolverTask, projectDependencies <<= projectDependenciesTask,