On Thursday, November 15, 2012 3:06:24 PM UTC+2, Iulian Dragos wrote:
> [moved to scala-ide-user]
> On Wed, Nov 14, 2012 at 3:05 PM, George Kollias <georgio...@gmail.com<javascript:>
> > wrote:
>> Hi,
>> Eclipse (with Scala 2.10 nightly plugin) cannot build the following code:
> What nightly version?
> Your code compiles just fine for me
> (version 2.1.0.nightly-2_10-201211150421-8a424af).
> iulian
>> 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
> --
> « Je déteste la montagne, ça cache le paysage »
> Alphonse Allais