harrah/xsbt — Issue #245: Scala reflection doesn't work with sbt run
Author: gkossakowski
Created: 2011-10-26 22:27:40+00:00
State: open

Scala reflection that is being cooked in Scala's trunk doesn't work when code is executed with `sbt run`.

Example project that shows the problem can be found here: https://github.com/gkossakowski/scala-proxy

I don't know if it's a bug in Scala compiler or Sbt classloader issue. It's bit hard to debug it for someone not understanding sbt's internals. Figuring it out if it's compiler problem or Sbt problem would be already a big help.

Obviously, the code included in example project work fine if run from command line using scala command.