sbt-eclipse icon indicating copy to clipboard operation
sbt-eclipse copied to clipboard

.settings/org.scala-ide.sdt.core.prefs is not regenerated when only defaults are there

Open freekh opened this issue 12 years ago • 1 comments

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.

freekh avatar Apr 30 '13 07:04 freekh

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"

er1c avatar Sep 02 '14 21:09 er1c