mirror of https://github.com/sbt/sbt.git
Set jna.nosys=true in RunSourceFromMain
Without this, I saw errors on windows.
This commit is contained in:
parent
15d3ed1298
commit
c47db91bdc
|
|
@ -52,6 +52,7 @@ object RunFromSourceMain {
|
|||
s"Must specify working directory, scala version and sbt version and classpath as the first three arguments"
|
||||
)
|
||||
case Array(wd, scalaVersion, sbtVersion, classpath, args @ _*) =>
|
||||
System.setProperty("jna.nosys", "true")
|
||||
run(file(wd), scalaVersion, sbtVersion, classpath, args)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue