Hi guys, probably this would be of interest to you.
---------- Forwarded message ----------
From:
George Kollias <georgio...@gmail.com>
Date: 14 November 2012 15:05
Subject: mkToolBox eclipse building error
To:
scala...@googlegroups.comCc:
eugene....@epfl.ch,
vlad....@gmail.com
Hi,
Eclipse (with Scala 2.10 nightly plugin) cannot build the following code:
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{universe => ru}
import scala.reflect.runtime.{currentMirror => cm}
import scala.tools.reflect.ToolBox
object Test extends App {
val toolbox = cm.mkToolBox()
}
It gives these 2 errors:
1) bad symbolic reference to class Mirror in trait JavaUniverse - referenced from scala/reflect/api/JavaUniverse.class (a classfile may be missing)
2) value mkToolBox is not a member of reflect.runtime.universe.Mirror
Both scala-compiler.jar & scala-reflect.jar are included in the build path.
Any ideas?
Btw, there is no problem compiling the code above from the command line.
Thank you,
George