mirror of https://github.com/sbt/sbt.git
Generalize handling of ext.dirs
This commit is contained in:
parent
3cd4815fe4
commit
bf36f824fd
|
|
@ -69,7 +69,7 @@ final class CompilerArguments(scalaInstance: xsbti.compile.ScalaInstance, cp: xs
|
|||
def bootClasspathFor(classpath: Seq[File]) = bootClasspath(hasLibrary(classpath))
|
||||
|
||||
import Path._
|
||||
def extClasspath: Seq[File] = (IO.parseClasspath(System.getProperty("java.ext.dirs", "")) * "*.jar").get
|
||||
def extClasspath: Seq[File] = List("java.ext.dirs", "scala.ext.dirs").flatMap(k => (IO.parseClasspath(System.getProperty(k, "")) * "*.jar").get)
|
||||
}
|
||||
object CompilerArguments {
|
||||
val BootClasspathOption = "-bootclasspath"
|
||||
|
|
|
|||
Loading…
Reference in New Issue