Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

resolve Ivy home launcher setting to absolute path

  • Loading branch information...
commit c9310db337ee8b37b128ab712e3e600fd244035f 1 parent dc2aaaf
@harrah authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 launch/LaunchConfiguration.scala
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.