I'm trying to build the latest plugin to try out a fix for a problem I reported in breakpoints. I've done a clean git checkout and pointed scala.properties at my scala 2.8.1 lib directory and my IDEA 10.5 RC application directory, but I'm getting some compile errors when dereferencing some IntelliJ classes…
[scalac] Compiling 1071 scala and 104 java source files to /Users/rkennedy/Projects/scala-plugin/classes/production/Scala
[scalac] /Users/rkennedy/Projects/scala-plugin/src/org/jetbrains/plugins/scala/console/ScalaScriptConsoleRunConfiguration.scala:148: error: value importHistory is not a member of com.intellij.execution.impl.ConsoleViewImpl
[scalac] /Users/rkennedy/Projects/scala-plugin/src/org/jetbrains/plugins/scala/console/ScalaScriptConsoleRunConfiguration.scala:156: error: value getHistorySize is not a member of com.intellij.execution.impl.ConsoleViewImpl
[scalac] if (hist.size > consoleView.getHistorySize) hist.remove(0)
[scalac] two errors found
I had been assuming the code was being built against the plugin SDK from 10.5. Was that a bad assumption? I'm building this on a Mac.