Prims - Implement set-default-shape
[clnl] / bin / viewruncmd.scala
index fccc2ea4cadbd8533c55f65a7fdaf53db8908901..2c96f56ec455863f164fe6865f8198d9b9523da6 100755 (executable)
@@ -7,12 +7,12 @@ exec scalas "$0" -q "$@"
 
   logLevel in Global := Level.Error
 
-  scalaVersion := "2.10.3"
+  scalaVersion := "2.9.2"
 
   libraryDependencies ++= Seq(
     "asm" % "asm-all" % "3.3.1",
     "org.picocontainer" % "picocontainer" % "2.13.6",
-    "org.nlogo" % "NetLogoHeadless" % "6.0.0-M3" from "http://ccl.northwestern.edu/devel/6.0.0-M3/NetLogoHeadless.jar"
+    "org.nlogo" % "NetLogo" % "5.2.0" from "http://ccl.northwestern.edu/netlogo/5.2.0/NetLogo.jar"
   )
 */
 
@@ -31,7 +31,7 @@ workspace.openFromSource(url2String("file:resources/empty55.nlogo"))
 val commands = io.Source.stdin.getLines.mkString("\n")
 
 workspace.mainRNG.setSeed(15)
-workspace.runCompiledCommands(new api.SimpleJobOwner("test", workspace.world.mainRNG, api.AgentKind.Observer), workspace.compileCommands(commands, api.AgentKind.Observer))
+workspace.runCompiledCommands(new api.SimpleJobOwner("test", workspace.world.mainRNG, classOf[api.Observer]), workspace.compileCommands(commands))
 
 workspace.exportView("scala.png", "PNG")