override def fork =
{
val si = buildScalaInstance
Some(new ForkScalaRun {
override def scalaJars = si.libraryJar :: si.compilerJar :: Nil})
}
until I make ForkScalaRun use the build Scala version by default.
-Mark
Mark> Thanks Josh. You can use: override def fork = { val si =
Mark> buildScalaInstance Some(new ForkScalaRun { override def scalaJars
Mark> = si.libraryJar :: si.compilerJar :: Nil}) }
Mark> until I make ForkScalaRun use the build Scala version by default.
works, thanks.
--
Seth Tisue @ Northwestern University | http://tisue.net
lead developer, NetLogo: http://ccl.northwestern.edu/netlogo/
Ok, I couldn't make the old way do this by default and be compatible, so I at
least tried to make the new way better. There are some new methods called
forkRun that either do the above by default or directly accept a new working
directory or arguments:
override def fork = forkRun
override def fork =
forkRun(new File("different-working-directory"))
override def fork =
forkRun("-Xmx8G" :: Nil)
This is in the just published 0.6.9.
-Mark
Mark> Ok, I couldn't make the old way do this by default and be
Mark> compatible, so I at least tried to make the new way better.
Mark> There are some new methods called forkRun that either do the
Mark> above by default or directly accept a new working directory or
Mark> arguments: [...]
Mark> This is in the just published 0.6.9.
Works, thanks!