Permalink
Browse files

resolve Ivy home launcher setting to absolute path

  • Loading branch information...
1 parent dc2aaaf commit c9310db337ee8b37b128ab712e3e600fd244035f @harrah committed Jun 23, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 launch/LaunchConfiguration.scala
@@ -23,9 +23,12 @@ final case class LaunchConfiguration(scalaVersion: Value[String], ivyConfigurati
def withVersions(newScalaVersion: String, newAppVersion: String, classifiers0: Classifiers) =
LaunchConfiguration(new Explicit(newScalaVersion), ivyConfiguration.copy(classifiers = classifiers0), app.withVersion(new Explicit(newAppVersion)), boot, logging, appProperties)
- def map(f: File => File) = LaunchConfiguration(scalaVersion, ivyConfiguration, app.map(f), boot.map(f), logging, appProperties)
+ def map(f: File => File) = LaunchConfiguration(scalaVersion, ivyConfiguration.map(f), app.map(f), boot.map(f), logging, appProperties)
}
final case class IvyOptions(ivyHome: Option[File], classifiers: Classifiers, repositories: List[xsbti.Repository], checksums: List[String], isOverrideRepositories: Boolean)
+{
+ def map(f: File => File) = IvyOptions(ivyHome.map(f), classifiers, repositories, checksums, isOverrideRepositories)
+}
sealed trait Value[T]
final class Explicit[T](val value: T) extends Value[T] {
override def toString = value.toString

0 comments on commit c9310db

Please sign in to comment.