Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (24 sloc) 0.759 kb
import sbt._
import Keys._
object Running {
// the NetLogo app cannot be cleanly shut down, so we need a fresh JVM
val settings = Seq(
fork in run := true,
javaOptions in run ++= Seq(
"-XX:-OmitStackTraceInFastThrow", // issue #104
"-XX:MaxPermSize=128m",
"-Xmx1024m",
"-Dfile.encoding=UTF-8",
"-Djava.ext.dirs=",
"-Dapple.awt.graphics.UseQuartz=true") ++
(if(System.getProperty("os.name").startsWith("Mac"))
Seq("-Xdock:name=NetLogo")
else Seq()) ++
(if(System.getProperty("org.nlogo.is3d") == "true")
Seq("-Dorg.nlogo.is3d=true")
else Seq()) ++
(if(System.getProperty("org.nlogo.noGenerator") == "true")
Seq("-Dorg.nlogo.noGenerator=true")
else Seq())
)
}
Jump to Line
Something went wrong with that request. Please try again.