sbt-eclipse
sbt-eclipse copied to clipboard
.settings/org.scala-ide.sdt.core.prefs is not regenerated when only defaults are there
How to reproduce:
create a build.sbt file with:
scalacOptions += "-deprecation"
and generate the eclipse project from sbt:
eclipse
then remove the scalac from the build.sbt:
scalacOptions += "-deprecation"
and run
eclipse again.
Expected behavior is that: .settings/org.scala-ide.sdt.core.prefs no longer contains the deprecation parameter, but it does.
I believe the build.sbt files are loaded on a single sbt invocation, you need to re-run sbt (and then eclipse) to see the change?
I always just run $ sbt eclipse from bash to update.
Is that the issue you're experiencing? If so, it's probably more likely a "sbt bug" than "plugin bug"