title: Intellij scala compilation error
body: <p>I have IntelliJ 10 with scala plugin and sbt. I used the lift_archetype_basic from maven(as IntelliJ plugin) to create a basic lift webapp. If I use maven to compile the project, it works. However, IntelliJ seems to see errors everywhere in scala syntax. Apparently IntelliJ is not using scala compilation libraries, even though they are clearly mentioned in the Scala facet for the project. I have made sure that scala compile libraries are also mentioned as dependencies in Module settings. If I force compile a scala file, I get:</p>
  
  <blockquote>
    <p>javac: invalid flag: /home/dropfatdiva/lifttest/src/main/scala/bootstrap/liftweb/Boot.scala</p>
  </blockquote>
  
  <p>Has anyone else seen this happen?</p>