dcaoyuan / nbscala

NetBeans Plugin for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scala.console project won't build if I add java files to it.

vra5107 opened this issue · comments

Hi

Because there is no mailing list I am asking this question here. Please bear with me.

I am tying to add some code to scala.console. For some reason it keeps throwing the exception listed below. I think this is being caused by the java files that I added to the project. I verified scala.console pom.xml with scala.editor pom.xml. The compiler plugin configuration seems to be intact. What do I need to do to fix this issue.

[INFO] -------------------------------------------------------------
[ERROR] cannot access org.netbeans.modules.scala.console.TerminalInput.1
class file for org.netbeans.modules.scala.console.TerminalInput$1 not found
Consult the following stack trace for details.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.netbeans.modules.scala.console.TerminalInput$1 not found

I have scala version 2.10.2 installed and seems like maven-scala-plugin is configured to use 2.10.1-nbscala which I have installed in my maven repo. Does this cause an issue ?

Changes I made to scala.console that caused this error.

https://gist.github.com/vra5107/8142378