Where to acquire jar that provides scala.tools.nsc.MainGenericRunner -
i lift project have file called liftconsole.scala
. generated project creation script , contains following
import _root_.bootstrap.liftweb.boot import _root_.scala.tools.nsc.maingenericrunner object liftconsole { def main(args : array[string]) { // instantiate project's boot file val b = new boot() // boot project b.boot // run maingenericrunner repl maingenericrunner.main(args) // after repl exits, exit scala script exit(0) } }
it seems purpose of file let user interact console within project. i'd that, never able because cannot find jar maingenericrunner. know it?
my goal able initialize console project settings can execute project specific code.
it part of scala-compiler.jar
. can find rest of scala distribution. add project:
val scalacompiler = "org.scala-lang" % "scala-compiler" % "2.8.1"
Comments
Post a Comment